HP-UX 11i v3 Internationalization Features

13
5. Commands and Libraries
Libc Library Routines
The following two libc functions have changed in conformance to the Unix2003 standard.
strfmon()
The behavior of the strfmon() function has been changed slightly to align with the UNIX 2003
standard. The system locales are changed accordingly to make the behavior of the strfmon()
function the same as before, unless applications use non-system locales. In applications using non-
system locales, the LC_MONETARY sections of the user-customized locales may have to be updated
so as to provide the old strfmon() behavior.
localeconv()
The localeconv() function has been changed to return an lconv structure with new members for
formatting monetary quantity with international currency symbol. The values of some of the existing
members may be changed to reflect new semantics in the UNIX 2003 standard. Applications that
use those values directly for formatting may have to be updated to handle new semantics as
defined in the UNIX 2003 standard.
The following manual pages have been updated to reflect the new and updated functionalities:
strfmon(3C)
localeconv(3C)
localedef command
Expanded ctype Class Support
The 11i v3 version of the localedef command now allows the definition of up to 255 character type
classes within a locale. Previous releases allowed a maximum of 32 ctype classes. This 255 ctype
class limit includes the built-in classes, such as alpha, digit, and upper.
To support more than 32 ctype classes, libc wctype() and iswctype() functions have been modified
internally. However, these changes are transparent and there is no impact on applications that use
these functions.
UNIX 2003-Related Changes
The localedef command now supports the following new features and options defined in the UNIX
2003 standard:
New -u option for specifying the name of a codeset used as the target mapping of character
symbols and collating element symbols whose encoding values are defined in terms of the
Unicode scalar values.
New LC_MONETARY keywords related to the formatting of monetary quantities with international
currency symbol.
Optional use of width specification in the charmap files for specifying multibyte character width
instead of using a wcwidth method.
For more information on these new features, refer to the localedef(1M), localeconv(3C),
localedef(4), and charmap(4) manual pages.