JMD
January 3rd, 2005, 14:58
hi,
When I type this :
printf("%c, %s, %c, %i\n", 133, "à", "à", "à");
the result is :
à, Ó, è, 4199050
In extended ascci table, the code of 'à' is 133.
How can I have the (extended) ascii code from a char string with accents ?
My main goal is to use the ascii code to find letters in a texture to write a text with accent on screen.
Doas another methode exist ?
Thanks
When I type this :
printf("%c, %s, %c, %i\n", 133, "à", "à", "à");
the result is :
à, Ó, è, 4199050
In extended ascci table, the code of 'à' is 133.
How can I have the (extended) ascii code from a char string with accents ?
My main goal is to use the ascii code to find letters in a texture to write a text with accent on screen.
Doas another methode exist ?
Thanks