GNOME Bugzilla – Bug 55112
UTF-8 in zvt doesn't get triggered by LC_CTYPE
Last modified: 2003-02-09 03:33:33 UTC
According to the 'UTF-8 and Unicode FAQ' the preferred way to trigger UTF-8 support in programs is by querying nl_langinfo(CODESET). http://www.cl.cam.ac.uk/~mgk25/unicode.html#activate This is the way xterm does it in XFree86-4.0.x I've written a patch that implements this behaviour for zvt (as used by gnome-terminal) The patch is available from http://noa.tm/utf-8/patches/gnome-libs-zvt-utf8-autodetect.patch Please include :) (I will also submit the patch as an attachment to this bug)
Created attachment 554 [details] [review] Patch that enables UTF-8 mode based on LC_CTYPE
On http://www.cl.cam.ac.uk/~mgk25/unicode.html#activate there is a better autoconf macro that I think should be used.
Does the UTF-8 mode in zvt even work? I'm not sure it's ever been enabled in any release...
UTF-8 mode in zvt seems to work. The example program, zterm, included in zvt can display UTF-8 after switching with the ESC%G sequence.
Isn't this a duplicate of #87238?
I tried applying this patch and using the autoconf macro to get this up and running, but still zvt doesn't output any of the unicode chars correctly. Any ideas?
Anybody out there? Please comment and I'll see if we can get this up and running if there's interest still.
I'm sorry but I have upgraded to redhat 8, which doesn't use zvt so I don't think I can be of any help anymore.
Because of the release of GNOME2.0 and 2.2, and the apparent lack of interest in a further release of GNOME 1.4, many GNOME1.4 bugs are being closed. If you feel your bug was incorrectly labeled as a GNOME1.4 bug, or also applied to GNOME2, please reopen it and reassign it to another component more relevant to GNOME2. Thanks, and hope you enjoy GNOME2.