Re: PangoLayout and UTF8-strings
- From: Tim Müller <zen18864 zen co uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: PangoLayout and UTF8-strings
- Date: Fri, 18 Jun 2004 20:07:13 +0100
On Friday 18 June 2004 16:18, Carlo wrote:
g_sprintf (label, "%d °C", value[i]);
this code produces the desired output under windows ("750 °C") but only
an incomplete output under linux ("750 "). Any idea? Any suggestion
about finding documentation on UTF8-strings?
Try
g_sprintf (label, "%d \342\204\203", value[i]);
or
g_sprintf (label, "%d \302\260C", value[i]);
gucharmap is a great tool finding UTF-8 codes.
There's some info about Gtk2 and UTF-8 in:
http://developer.gnome.org/dotplan/porting/ar01s10.html
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]