Thanks for the help. I solved using the ASCII code.
//UTF-8 ASCII Table
const char tA[4] = {225,226,227,228}; //á,â,ã,Ã
const char tE[2] = {233,234}; //é,ê
const char tI[1] = {237}; //Ã*
const char tO[3] = {243,244,245}; //ó,ô,õ
const char tU[2] = {250,252}; //ú,ü
const char tC[1] = {231}; //ç
//UTF-8 ASCII Table
const char tA[4] = {225,226,227,228}; //á,â,ã,Ã
const char tE[2] = {233,234}; //é,ê
const char tI[1] = {237}; //Ã*
const char tO[3] = {243,244,245}; //ó,ô,õ
const char tU[2] = {250,252}; //ú,ü
const char tC[1] = {231}; //ç
To copy to clipboard, switch view to plain text mode
for (unsigned int j = 0; j < sizeof(tA); j++) str.replace(tA[j],"a");
for (unsigned int j = 0; j < sizeof(tE); j++) str.replace(tE[j],"e");
for (unsigned int j = 0; j < sizeof(tI); j++) str.replace(tI[j],"i");
for (unsigned int j = 0; j < sizeof(tO); j++) str.replace(tO[j],"o");
for (unsigned int j = 0; j < sizeof(tU); j++) str.replace(tU[j],"u");
for (unsigned int j = 0; j < sizeof(tC); j++) str.replace(tC[j],"c");
for (unsigned int j = 0; j < sizeof(tA); j++) str.replace(tA[j],"a");
for (unsigned int j = 0; j < sizeof(tE); j++) str.replace(tE[j],"e");
for (unsigned int j = 0; j < sizeof(tI); j++) str.replace(tI[j],"i");
for (unsigned int j = 0; j < sizeof(tO); j++) str.replace(tO[j],"o");
for (unsigned int j = 0; j < sizeof(tU); j++) str.replace(tU[j],"u");
for (unsigned int j = 0; j < sizeof(tC); j++) str.replace(tC[j],"c");
To copy to clipboard, switch view to plain text mode
Bookmarks