Can't set window titles in Japanese
Can't set window titles in Japanese
- Subject: Can't set window titles in Japanese
- From: "Dave Williss" <email@hidden>
- Date: Thu, 24 Apr 2003 12:02:19 -0500
I've tried various ways to set the window title and none of them
will let me set it in Japanese.
Things I've tried.
* Convert the title to COMPOUND_TEXT and set the
XtNtitle resource of the shell. Set the XtNtitleEncoding
resource of the shell to the atom COMPOUND_TEXT
(use XInternAtom to create the atom) -- No go for
anything but stuff in the ASCII range
* Call XSetWMName, giving it the COMPOUND_TEXT
title string and encoding. Same result as above.
* Convert the title to UTF-8 and call XSetTextProperty
to set the _NET_WM_NAME property of the window.
The encoding is "UTF8_STRING" converted to an Atom.
This works for Russian, Greek, and even Arabic! But
Japanese shows up as little boxes instead of Kanji glyphs
I am attaching a small C program which demonstrates the
problem and will file a bug report with Apple as soon as I
send this.
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup
[demime 0.98b removed an attachment of type application/x-gzip which had a name of titletest.tar.gz]
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.