HP-UX 11i v3 Internationalization Features

7
3. Locales
Unicode 5.0 Support
As stated earlier in this document, HP-UX 11i v3 includes Unicode 5.0 support in all supported utf8
locales.
All 52 previously supported, system-supplied utf8 locales have been updated to support the
character repertoire specified by the Unicode 5.0 standard. In addition, all new 11i v3 utf8
locales (refer to the "New localesBaltic/Russia/Ukraine/Latin America" section) align with the
Unicode 5.0 standard.
Note that as of 11i v3, the locale binaries provided are version 3. Refer to the "New Locale
Versioning" section for further details regarding levels of support for PA-RISC-based archived
applications.
Support for Unicode 5.0 is provided for applications running on 32/64-bit Itanium®-based
platforms or those compiled in shared mode on PA-RISC 32/64-bit platforms. Unicode 5.0
support is not provided for those applications that were compiled in archived mode on previous HP-
UX releases. Those archived applications will continue to use the Unicode 3.0 repertoire, as
supported in previous HP-UX releases.
For specific operations, involving collation and/or string handling, some performance
improvements from past releases will be observed within the system.
New Locale Versioning
With the 11i v3 release, a new locale version, "locales.3", has been generated for all system-
supported locale binaries. This is provided to protect older PA-RISC-based archived applications
from unexpected systems behavior necessitated in order to fully support the UNIX 2003 standard.
Users will find a new locale version, locales.3, under:
* /usr/lib/nls/loc/locales.3 (for 32-bit PA-RISC)
* /usr/lib/nls/loc/pa20_64/locales.3 (for 64-bit PA-RISC)
* /usr/lib/nls/loc/hpux32/locales.3 (for 32-bit Itanium®-based)
* /usr/lib/nls/loc/hpux64/locales.3 (for 64-bit Itanium®-based)
As part of the new locales.3 version, several other changes have been made to the locale internals
resulting in smaller, more optimized locales. The optimized locales require less disk space and offer
better runtime performance (especially when processing larger character sets, such as Unicode)
than in previous locale versions.
Locales now support new UNIX 2003 LC_MONETARY keywords that are used by strfmon () and
localeconv (). Refer to the localeconv () and strfmon () manual pages for more information. For
details of UNIX 2003 changes, please refer to the section “Commands and Libraries” later in this
document.
Older PA-RISC archived applications will not be able to use the new locales.3 locales unless they
are statically re-linked on an 11i v3 system. To maintain compatibility, older locale binaries
(locales.1 and locales.2) continue to be provided for use by archived applications.