HP-UX 11.0 - 11i Internationalization Features White Paper
Encoding Characters
Euro Support
Chapter 2
21
For example, in the French locale, the thousands separator is a space and the decimal point is a comma.
However, the international standard for the thousands separator for the euro currency is a period. A user who
has the LC_MONETARY locale category set to fr_FR.iso885915@euro sees the following:
• The number one thousand five hundred and fifty and a half, outside the monetary area, displays as
1 550,50.
• One thousand five hundred and fifty euro and 50 cents displays as EUR 1.550,50.
Users can change the LC_MONETARY value to their national currency unit.
Users enable ISO 8859-15 automatically in some locales when logging in through the CDE.
CDE Support
New functionality was introduced in CDE product to support input and display of the euro symbol. These
changes are for both workstations and the servers.
X Window Support
New functionality has been added to Xlib to support input and display of the euro symbol. This was done by
adding internal support for the ISO8859-15 character set, as well as support of UTF8 on 11.0. When an Xlib
application is started, Xlib internals determine if the locale is set to an ISO8859-15 character set. If it is,
Xlib performs character lookups using the eight new symbols present in the ISO8859-15 character set.
Currently, only applications linked with X11R6 (X Window version X11 Release 6) support the ISO8859-15
character set. Older X11 versions are not currently supported.
Libraries
The libc and Xlib libraries support the euro symbol.
Codeset Converters
New iconv tables exist to support conversion from/to ISO 8859-15 and ISO 8859-1, ucs2, and utf8. The
additional disk space in HP-UX 11.0 is 6.42 MB. No additional memory is required.
LaserJet Printers
An important aspect of euro support is the ability to print the new symbol on LaserJet printers using existing
standard lp(1) model files.
The ISO8859-15 font set is resident on the HP 4500 Color LaserJet Printer, that contains the euro symbol at
position A4 (hexadecimal). The data file must contain this code to print the euro symbol.
A new utility is being provided to download the fonts to the printer RAM. These fonts will then reside in the
printer’s RAM until the next power cycle.
Use the lp option -ocs9N (or -oscs9N) to select the ISO 8859-15 character set as the primary (or secondary)
character set. For example:
lp -d
printer_name
-ocs9N -o
other_options
print_filename
NOTE The case is significant. Be sure to use an upper case “N”.