Re: About Windows GTK+ BIG5 (fwd)



Hi:

Under Linux(MDK 8), I can use gtk_set_locale(); to set the locale,
and the big5 characters can display correctly in default widgets. No
need to setlocale(LC_ALL,"");, bindtextdomain();, textdomain();, or
to define other macros. But I don't know what is going to happen
with just gtk_set_locale(); if I want to develop a fully functional big5
Chinese application.

When I see the GTK+ for Windows, the words on that web page say
that use g_convert() to convert non-ASCII characters into UTF-8 in i18n, for
that
UTF-8 is GTK+'s internal representations.  And this doesn't work
in a button widget( and may be others, I haven't tried it yet) while setting
the window title with gtk_window_set_title() works fine. Under Windows,
with gtk_set_locale() or without gtk_set_locale() causes the same result
with this small test program.

Is that the same way to use gettext/PO/MO under Windows(no Cygwin)
as that under Linux?

If I only want to develop big5 applications, is that the only way to
support big5 locale with gettext/PO/MO?

Frank Chen

----- Original Message -----
From: "Pofeng Lee" <informer ns1 m2000 idv tw>
To: <jsfrank chen msa hinet net>
Sent: Saturday, November 10, 2001 12:31 AM
Subject: About Windows GTK+ BIG5 (fwd)


>
>
> ---------- Forwarded message ----------
> Date: Sat, 10 Nov 2001 00:25:51 +0800 (CST)
> From: Pofeng Lee <informer ns1 m2000 idv tw>
> To: gtk-i18n-list gnome org
> Subject: About Windows GTK+ BIG5
>
>
> Dear Frank
>
> remeber to add
>
> setlocale ( before bindtextdomain() and textdomain() )
>
> and FYI,
> http://www.linux.org.tw/pipermail/cle-devel/2001-September/001134.html
> http://www.cle.idv.tw/doc-for-cle/gtk.html ( thanks to pablo )
>
> --
> Pofeng "informer" Lee, 李柏鋒, 886-928-554-335 ( 20:00-23:00 GMT+8 )
> pofeng at linux.org.tw, an_evil_anti-opensource_nerd at PDAology.com.tw
> Chang Gung Children's Hospital
>
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]