Edited by zeit, 21 March 2012 - 05:21 AM.
Latin characters
Started by zeit, Mar 20 2012 02:50 PM
4 replies to this topic
#1
Posted 20 March 2012 - 02:50 PM
Hi, i have problems working with latin characters when i load them from external text files, but if i write them directly at the code it works fine, i use GM8.1, is this the problem???
#2
Posted 20 March 2012 - 04:17 PM
What kind of problems?
Make sure the font you set has ALL CHARACTERS enabled. You'll need access to the whole byte if you're trying to draw the text.
Make sure the font you set has ALL CHARACTERS enabled. You'll need access to the whole byte if you're trying to draw the text.
#3
Posted 20 March 2012 - 10:04 PM
What kind of problems?
Make sure the font you set has ALL CHARACTERS enabled. You'll need access to the whole byte if you're trying to draw the text.
Hi, some problems like the character "ñ" is drawn as "?", even if i use show_menu, the string functions does not work fine. Yes, the font has ALL CHARACTERS, it works fine if the texts are at the code but not when i load them from a external text.
#4
Posted 20 March 2012 - 11:55 PM
If you're loading from a file, you should check that the file is in the right encoding for GM8.1 (I think it's UTF-8). If the file isn't in the right encoding, all kinds of problems can show up.
#5
Posted 21 March 2012 - 05:20 AM
If you're loading from a file, you should check that the file is in the right encoding for GM8.1 (I think it's UTF-8). If the file isn't in the right encoding, all kinds of problems can show up.
Tanks, it was the problem, now it is solved.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











