|
How do i can put accent mark in words on allegro 5? |
Ailton Silva
Member #12,601
February 2011
|
Hello folks! I have a little problem, in allegro 4 we had a function called "set_uformat" and using it we could draw words with accent mark, but i did not found a similar function in allegro 5; I'd like to draw words like: Olá, Opções, Pão, Pôr, etc.... |
Thomas Fjellstrom
Member #476
June 2000
|
Ailton Silva said: So, How do i can put accent mark in words on allegro 5??? Use UTF8, and a unicode font. -- |
Matthew Leverton
Supreme Loser
January 1999
|
Make sure you save your source code or text files with UTF-8 encoding. If you do that, it should just work (assuming the font has those characters). |
Ailton Silva
Member #12,601
February 2011
|
worked after converting my .cpp files to UTF-8 |
|