24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Any UTF-8 based locale installed on an <strong>AIX</strong> system will provide the desired<br />

support for the Euro symbol. For those countries that may have to actively use<br />

the Euro (Table 51 on page 256), the locales will deliver the input methods and<br />

the keyboard maps required to enter the Euro symbol through the keyboard. For<br />

the same group of countries, an additional LC_MONETARY locale is available to<br />

enable the Euro currency formatting. This locale is identified by the suffix @euro.<br />

For example, if you are using the UTF-8 locale DE_DE, which specifies German<br />

language and territory, and your system is configured for Euro currency<br />

formatting, then the locale command will return the following output:<br />

# locale<br />

LANG=DE_DE<br />

LC_COLLATE="DE_DE"<br />

LC_CTYPE="DE_DE"<br />

LC_MONETARY="DE_DE@euro"<br />

LC_NUMERIC="DE_DE"<br />

LC_TIME="DE_DE"<br />

LC_MESSAGES="DE_DE"<br />

LC_ALL=<br />

The related locale definition source files and the locale databases can be found in<br />

the /usr/lib/nls/loc directory:<br />

# cd /usr/lib/nls/loc<br />

# ls -l DE_DE* | egrep -v "\.[il]" | cut -c55-<br />

DE_DE -> /usr/lib/nls/loc/DE_DE.UTF-8<br />

DE_DE.UTF-8<br />

DE_DE.UTF-8.src<br />

DE_DE.UTF-8@euro<br />

DE_DE.UTF-8@euro.src<br />

DE_DE.UTF-8@euro__64<br />

DE_DE.UTF-8__64<br />

DE_DE@euro -> /usr/lib/nls/loc/DE_DE.UTF-8@euro<br />

DE_DE@euro__64 -> /usr/lib/nls/loc/DE_DE.UTF-8@euro__64<br />

DE_DE__64 -> /usr/lib/nls/loc/DE_DE.UTF-8__64<br />

The locale database for the DE_DE locale is actually an alias for DE_DE.UTF-8,<br />

and likewise, the database for the DE_DE@euro locale is linked to<br />

DE_DE.UTF-8@euro. Note, you should not use the referenced locale databases<br />

DE_DE.UTF-8 and DE_DE.UTF-8@euro explicitly as parameter to the chlang<br />

command or as variable value for LANG. The names of the locales are aligned to<br />

the traditional <strong>AIX</strong> locale naming convention.<br />

Since a locale is a loadable object module, a different object is required when<br />

running in the 64-bit environment. Consequently, you find one 64-bit enabled<br />

locale database for any 32-bit locale database. The 64-bit databases are readily<br />

identified by the __64 suffix. In the 64-bit environment, the application will<br />

automatically append __64 to the name of the locale when searching for the<br />

proper NLS.<br />

The locale definition source files hold the suffix .src and belong to the separately<br />

installable bos.loc.adt.locale fileset.<br />

10.5.2.1 Euro Sign Character Classification<br />

For each UTF-8 based locale, the Euro sign was added as a valid graphical and<br />

printable character. The Euro sign is not classified as an alphabetic, upper or<br />

lower case letter, nor a numeric symbol.<br />

254 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!