1837409 Members
3661 Online
110116 Solutions
New Discussion

Re: Unicode x XLib

 
Luiz Omori
New Member

Unicode x XLib

Hi,

Is there a valid locale for Xlib so it will print utf8 text strings properly ?
I have tried C.utf8 and univ.utf8 but they are not valid locales for X.

Regards,

Luiz
1 REPLY 1
Sue Kline
New Member

Re: Unicode x XLib

This question depends on a two key answers:
what version of HP-UX are you running on and
what version of Xlib are you likewise using?

Full systems level UTF-8 (Unicode) support is
provided with the December 1998 11.0 Extension
Pack, based on Unicode 2.0. In the May 1999
11.0 Extension Pack, support is extended to
include the Unicode 2.1 character repertoire.

On 10.20 systems, the same level of support is
provided starting with Dart 48.

With respect to Xlib, the X11 R6 version has
support provided to display UTF-8 characters
in the above noted supported versions. In order
to be able to use this, your application must
be linked with the R6 version, and not any
previous versions.

For more information, consult the Release Notes
for these Extension Packs.