Hello everyone.
I migrated my files (.txt) from Windows (ISO-8859) to Linux (UTF-8).
Replace command is not recognizing the accented character.
Code:
file.close(); const char tA[4] = {'á','â','ã','à '}; for (int j = 0; j < (int)sizeof(tA); j++) str.replace(tA[j],"a");
Does anyone know what command I have to use or add?
Thanks!