Dave> I'm in the process of writing a GTK+ (XFree86) program which needs
Dave> to output information gathered from the user (in textboxes,
Dave> typically) in UTF-8 format. My problem is, I can't seem to find a
Dave> way to determine the current encoding of the text stored in the
Dave> textbox so that I can do a conversion from encoding X to UTF8.
This should be clear from the locale, but now that I think about it, it is not
clear at all. Whoever originated the idea of associating encodings with
locales should be shot.
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab Once you fully apprehend the vacuity of a
New Mexico State University life without struggle, you are equipped
Box 30001, Dept. 3CRL with the basic means of salvation.
Las Cruces, NM 88003 -- Tennessee Williams
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/