Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.6 Release Notes: HP-UX Servers and Workstations > Chapter 9 Internationalization

Greek Euro Support

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

System level support is provided for enabling the Euro within supported Greek locales.

In June 2000, Greece joined 11 other countries in adopting the Euro as their currency, with the complete transition effective as of January 1, 2002.

Summary of Change

Systems level support has been provided to allow for the input, storage, retrieval, display and printing of the Euro within the two supported Greek locales: el_GR.utf8 and el_GR.iso88597.

Greek Euro support has been provided in HP-UX 11i v1.6 via updates to locales, iconv converters, fonts, Xlib and CDE.

The level of Euro support provided for Greek is similar to that provided for Western European countries as of HP-UX 11.00 Extension Pack (May 1999) and HP-UX 11i v1.0:

  • Dual currency support using @euro modifier

  • Euro display and processing capabilities

  • Euro input capabilities in Greek locales

  • Printer support of Euro with other Greek characters

Details of Change

Euro-enabled Greek Locales:

The el_GR.utf8 and el_GR.iso88597 locales have been enhanced with the addition of 4 new characters, including the Euro:

Table 9-9 New Characters in Greek Locales

Character Name: ISO-88597Code Point UnicodeUTF-8
Euro0xA40x20AC 0xE282AC
Drachma Sign 0xA5 0x20AF 0xE282AF
Greek Ypogegrammeni0xAA 0x037A0xCDBA
Greek Question Mark0xAE0x037E0xCDBE

 

Also, the el_GR.utf8 locale binaries are now shipping as part of the release. Previously, only the el_GR.utf8 source file was provided for the user to build separately.

Locale-specific monetary processing and formatting:

When the LANG and/or LC_* environment variables are set to these Euro-enabled locales, the national monetary formatting rules are used to continue support for legacy (Drachma-based) applications. To access the monetary formatting rules for the Euro within the respective locale, the LC_MONETARY environment variable should be set to the desired locale name with the @euro modifier.

For example, to specify the Euro as the currency in the Greek UTF-8 locale, the following environment variables should be set to enable monetary formatting, such as used by strfmon(3C):

LANG=el_GR.utf8
LC_MONETARY=el_GR.utf8@euro

Data conversion (iconv) for Greek Euro:

Greek iconv converters have been updated to support the 4 new characters added to ISO-88597 (see table in Greek locales section) in conversions with UTF-8 and Unicode.

List of converter tables enhanced:

iso87 <-> ucs2
iso87 <-> utf8

Also, new iconv converters have been added to support data conversion between Greek EBCDIC (code page 875) and UTF-8/Unicode.

List of converter tables added:

greee <-> ucs2
greek <-> utf8

ISO-88597 and Greek EBCDIC converters have been enhanced to support Euro and have been aligned to match the expected mappings as defined by IBM for code page 875.

List of converter tables modified to align with expected mappings:

greee <-> iso87

The following table shows the modified code mapping changes made in converting from ISO-88597 to Greek EBCDIC / Code Page 875 (iso87=greee):

Table 9-10 ISO-88597 TO Greek EBCDIC Code Mapping Changes

ISO-88597 Code Page 875 (Incorrect)Code Page 875 (Corrected)
0X27 0Xd0 0X7d
0X40 0Xff 0X7c
0X5c 0Xff 0Xe0
0X7b 0Xff 0Xc0
0X7c 0Xff 0X6a
0X7d 0Xff 0Xd0
0X7e 0Xff 0Xa1
0Xa0 0Xff 0X74
0Xa1 0X79 0Xce
0Xa2 0Xd0 0Xde
0Xa3 0X7b 0Xb0
0Xa4 0Xff 0Xfc
0Xa6 0Xff 0Xdf
0Xa7 0x7c 0Xeb
0Xa8 0Xa1 0X70
0Xa9 0X83 0Xfb
0Xab 0X4c 0Xee
0Xac 0Xff 0Xef
0Xad 0X60 0Xca
0Xaf 0Xca 0Xcf
0Xb0 0Xe0 0X90
0Xb2 0Xf2 0Xea
0Xb3 0Xf3 0Xfa
0Xb4 0X7d 0Xa0
0Xb5 0X7d 0X80
0Xb7 0X4b 0Xdd
0Xbb 0X6e 0Xfe
0Xbd 0Xea 0Xdb
0Xc0 0Xb5 0Xcc
0Xda 0X49 0X68
0Xdb 0X63 0X69
0Xe0 0Xb7 0Xcd

 

The following table shows the modified code mapping changes made in converting from Greek EBCDIC / Code Page 875 to ISO-88597 (greee=iso87):

Table 9-11 Greek EBCDIC/Code Page875 to ISO-88597 Code Mapping Changes

Code Page 875ISO-88597 (Incorrect)ISO-88597 (Correct)
0X7 0X7f 0X9f
0X68 0Xff 0Xda
0X69 0Xff 0Xdb
0X6a 0Xff 0X7c
0X70 0Xff 0Xa8
0X74 0Xff 0Xa0
0X7b 0Xa3 0X23
0X7c 0Xa7 0X40
0X7d 0Xb4 0X27
0X80 0Xff 0Xb5
0X90 0Xff 0Xb0
0Xa0 0Xff 0Xb4
0Xa1 0Xa8 0X7e
0Xb0 0Xff 0Xa3
0Xc0 0Xff 0X7b
0Xca 0Xaf 0Xad
0Xcc 0Xff 0Xc0
0Xcd 0Xff 0Xe0
0Xce 0Xff 0Xa1
0Xcf 0Xff 0Xaf
0Xd0 0X27 0X7d
0Xdb 0Xff 0Xbd
0Xdd 0Xff 0Xb7
0Xde 0Xff 0Xa2
0Xdf 0Xff 0Xa6
0Xe0 0Xb0 0X5c
0Xea 0Xbd 0Xb2
0Xeb 0Xff 0Xa7
0Xee 0Xff 0Xab
0Xef 0Xff 0Xac
0Xfa 0Xff 0Xb3
0Xfb 0Xff 0Xa9
0Xfc 0Xff 0Xa4
0Xfe 0Xff 0Xbb

 

NOTE: The following 3 characters currently have no Greek EBCDIC Code Page 875 code points defined. Consequently, in converting from either ISO-88597, Unicode or UTF-8, these characters is mapped to the Undefined Character for Greek EBCDIC (0xFF). These 3 characters are subject to data loss in round trip conversions between these codesets:

Table 9-12 Undefined Characters for Greek EBCDIC

ISO-88597

Greek Unicode

EBCDIC(CP 875) Character
0xa5 0x20af <undefined> Drachma Sign
0xaa 0x037a <undefined> Greek Ypogrgrammeni
0xae 0x037e <undefined> Greek Question Mark

 

Displaying the Euro for Greek:

X11R6 Xlib has been enhanced to support the Euro when running in el_GR.iso88597 and el_GR.utf8 locales.

New font glyphs have been added to support the 4 new characters in ISO-88597. CDE is providing XlocaleDB for the el_GR.utf8 locale, and with this new XlocaleDB, el_GR.utf8 uses updated ISO-88597 fonts for displaying the euro.

Inputting the Euro for Greek:

Additional keymap support has been added to allow users of Greek-Latin keyboards to input the Euro symbol. The AltGr+5 sequence can be used with this new keymap (PS2_DIN_Greek_Euro) to input the Euro character.

Alternatively, users with US English keyboards can use the PS2_DIN_US_English_Euro keymap where the Euro symbol is mapped to AltGr+4.

CDE provides support to input and display the euro in the iso8859-7 locale.

The additional 3 characters do not have keybindings in any Xserver keymaps. The reason for this is that there is no standard definition among the X Window vendors on which key sequences should activate those other symbols. As a result, they are assigned key bindings whenever the mappings are clarified by the industry.

Printing Euro with Greek characters:

The standard lp command is used to print Euro and Greek characters on LaserJet printers. The LaserJet printers should have the resident Greek character/font set with the Euro symbol included. Current LaserJet printer models with this support include the LaserJet 1220 and the LaserJet 2200.

Use the lp command with the -ocs12N option to select the Greek character/font set. For example:

lp -d [printer_name] -ocs12N -o [other_options] [print_filename]

Impact

Base Greek Euro offering (installed on all systems): Approximately 14.2MB additional disk space is required.

No additional memory requirements are needed for running in either the el_Gr.iso88597 or el_GR.utf8 locales.

Compatibility

Iconv conversion between ISO-88597 and Greek EBCDIC (CP 875) yields different results than in previous releases. In HP-UX 11i v1.6 , these tables have been corrected to provide the correct conversion mappings.

It is recommended that all Greek-encoded legacy persistent data stored on previous versions of HP-UX be converted to ISO-88597 from Greek EBCDIC prior to being moved to an HP-UX 11i v1.6 system.

Performance

Not applicable.

Obsolescence

Not applicable.

Documentation

No documentation changes were necessary.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.