[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: gtk app prob
From: Noah Levitt <nlevitt () columbia ! edu>
Date: 2003-04-24 22:15:20
[Download RAW message or body]
I believe the answer is no.
You probably need to convert to the locale charset using
wcsrtombs then to UTF-8 using g_locale_to_utf8.
However, if you are on a platform where wchar_t is ucs4 (the
macro __STDC_ISO_10646__ is defined), you can treat the
wchar_t as gunichar, and use g_ucs4_to_utf8 to do the
conversion.
(I wonder if it's worth have g_wcs_to_utf8 in glib to wrap
this functionality?)
Noah
On Wed, Apr 23, 2003 at 4:36:36 -0700, pavan panguluri wrote:
> Hai all,
> I am developing a GUI application useing GTK. In
> this I need to insert a text of type wchar into a TEXT
> window, can any one tell me the gtk function which
> takes wchar as an input parameter to insert the text
> into a text window.
> Thanks in advance.
> Regards,
> Pavan.
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic