[maemo-developers] [maemo-developers] Nokia 770 sources...

From: Simon Budig simon at budig.de
Date: Tue Aug 29 21:10:36 EEST 2006
Alessandro Ikeuchi (aikeuchi at santanderbanespa.com.br) wrote:
> gtk_text_buffer_insert_at_cursor(mybuffer, "\u00E3", -1);

gtk_text_buffer_insert_at_cursor () expects UTF-8 as the second
argument. I don't know what C99 / C++ define for the "\u" excape
sequences (probably wide chars or something like this), but I strongly
suspect that the internal encoding is undefined and/or machine

I am not at all convinced that this is supposed to work and I suggest
that you assume the error on your side. Feel free to point me to the
Ansi C99 standard that defines the internal encoding of wide char string
constants to be UTF-8 though.

              simon at budig.de              http://simon.budig.de/

More information about the maemo-developers mailing list