Jump to content


Photo

Latin characters


  • Please log in to reply
4 replies to this topic

#1 zeit

zeit

    GMC Member

  • GMC Member
  • 22 posts

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???

Edited by zeit, 21 March 2012 - 05:21 AM.

  • 0

#2 TheouAegis

TheouAegis

    GMC Member

  • GMC Member
  • 5216 posts
  • Version:GM8

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.
  • 0

#3 zeit

zeit

    GMC Member

  • GMC Member
  • 22 posts

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.
  • 0

#4 TechnoGeek4681

TechnoGeek4681

    GMC Member

  • New Member
  • 143 posts
  • Version:GM8

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.
  • 0

#5 zeit

zeit

    GMC Member

  • GMC Member
  • 22 posts

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users