Txt file to TextMesh Pro

I’m trying read a TXT file, and save it to a TextMesh Pro.

But some characters are not recognized by TextMesh Pro. for example the exclamtion ¡

string texto = File.ReadAllText(path);


First I’d check if the text file has UTF-8 encoding, when you save the file, next to the save button there will be an encoding dropdown, at least on Windows 10.


Also I’d check if the TMP font that you’re using has a character set of extended ASCII, if you imported a font yourself using the Font Asset Creator make sure you selected that in the creator

Char Set