[Thuban-list] UTF-8 display can do kanji

Bernhard Reiter bernhard at intevation.de
Thu Apr 25 00:01:06 CEST 2002


If you manage to tell gtk+ to use the right font,
and you have the right locale set, Thuban can even display Japanese 
characters, encoded as unicode in utf-8. See the screenshot.

I've used a locale of de_DE.UTF-8
and set the default gtk Font to one containing most unicode characters.
(It probably depends on the gtk+ version.)

For this I've added the following lines to my ~/.gtkrc:

style "default-text" {
       fontset = "-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1"

class "GtkWidget" style "default-text"

This is GNU/Linux Debian with Gtk+ 1.2.10.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20020425/638864e7/attachment.bin

More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)