JMD
January 3rd, 2005, 15: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