Thanks for the reply, I think due to this issue I'm going to have to rethink the way the name generation for directories/files are created.
Instead of naming the directories / files with their "word", I will do it using their language CODE, example:
CODE: es; word: ingles
CODE: en; word: english
CODE: fr; word: anglais
Inside the file "languages.txt", I have added its code at the beginning of each language / word, in this way it does not complicate anything for me to "use" the first 2 characters to generate the names, and the rest of the captured text, used to generate the audio.
Code: Select alles-esespañol,eninglés,frfrancés,
en-esspanish,enenglish,frfrench,
fr-esespagnol,enanglais,frfrançais,
Therefore, the first part of the line "en-" would indicate the language code to use, and in the following sections of the line, separated by "commas", the first 2 characters of each sub string, would be used to name directories and files, in this way, the use of special characters is avoided, unless they are used to be displayed by other means, such as screens that support them.