Accents Support when reading Files
by Paulo Roberto Nova · in Technical Issues · 08/08/2006 (8:20 am) · 3 replies
Hi.. I buy the book Game Programmer's Guide to Torque to do my Conclusion Work in the University.
I'm trying to read my locales that stay in a .txt file using a FileObject, and this works well...
But when it read my file, it remove the accents in the words... and display squares in place.
What I have to do to keep safe the accents... or it's impossible in that way?
Sorry for the poor english, but I don't know english very well...
Thanks,
Paulo Nova
I'm trying to read my locales that stay in a .txt file using a FileObject, and this works well...
But when it read my file, it remove the accents in the words... and display squares in place.
What I have to do to keep safe the accents... or it's impossible in that way?
Sorry for the poor english, but I don't know english very well...
Thanks,
Paulo Nova
About the author
#2
it was in saved in Ansi... now I saved in UTF-8 in notepad and works!!
Hurray!!!
UTF-8 is ASCII, right?
Very Thanks!!!
08/08/2006 (10:47 am)
Thanks Pat... I really didn't notice that :Dit was in saved in Ansi... now I saved in UTF-8 in notepad and works!!
Hurray!!!
UTF-8 is ASCII, right?
Very Thanks!!!
#3
Here is some more information on UNICODE:
http://en.wikipedia.org/wiki/Unicode
That is the english link, but Wikipedia is pretty good about having entries in other languages as well.
I am glad that it worked for you :)
08/08/2006 (11:23 am)
UTF-8 is UNICODE, but that is ok because Torque likes both of them.Here is some more information on UNICODE:
http://en.wikipedia.org/wiki/Unicode
That is the english link, but Wikipedia is pretty good about having entries in other languages as well.
I am glad that it worked for you :)
Torque 3D Owner Pat Wilson