what is the encoding of text in gtk?
- From: "Ben Wing" <ben 666 com>
- To: gnome-i18n gnome org
- Subject: what is the encoding of text in gtk?
- Date: Mon, 20 Jan 2003 16:40:10 -0700
hello, i'm the main author of the i18n support in XEmacs and i'm trying to fix
up the gtk support in XEmacs to be i18n-correct. unfortunately, i didn't write
the support (that was done by Bill Perry), and i don't understand gtk very well.
i couldn't find any documentation on how strings are encoded. however, it
appears from reading the source code that strings in gtk 2 are in utf-8 and
strings in gtk 1 are in the locale-specific encoding. is this correct? in all
cases? all api's? (e.g. gdk_*, gtk_*, gnome_*, etc.) does this include
selection data, drag-n-drop data, etc.? any specific weirdnesses i should know
about? finally, is it correct to check gtk_major_version >= 2 to determine
whether to use utf-8?
thanks for your help. please make sure my email is in the to: or cc: since i'm
not on this list.
ben wing
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]