MH> I'm currently wrestling with handling UTF-8 text output.

Please consider switching to the Xft library.

MH> Creating a fontset and using 'Xutf8DrawString' to display a string with
MH> Western and Japanese Katakana works for me.

Good.

MH> o What is the current status of the utf8 functions?

They are part of XFree86 since 4.1, and are reliable since 4.2.

MH> o Are the UTF-8 functions available in a separate library for non-XFree86
MH>   systems?

I do not think so.  As they delve quite deeply into Xlib internals,
building such a library might be a lot of work.

MH>   (Are they, for example, related to a library named 'Xutf8' which
MH>   could be used as a fallback?)

Reference?
 
MH> o Why does [XmbDrawString] fail to display the Katakana when
MH> Xutf8DrawString succeeds, which seems to indicate that my fontset
MH> is correct?

Don't know.

Please let us know when you find out.

MH> o Does it fail because I need to update something? I.e. files in
MH>   '/usr/X11R6/lib/X11/locale/en_US.UTF-8'? I'm currently using the
MH>   XFree86 projects pre-compiled binaries of XFree86-4.3.0.

Which does include JISX0201.1976-0:GR in en_US.UTF-8.  Sorry, can't help you.

MH> o 'XOpenIM(display, NULL, NULL, NULL)' fails for LANG=en_US.UTF-8.

Yep.  That's expected brain-damage, IMs are locale-specific.

                                        Juliusz
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to