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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

For example, if you display the locale definition source file<br />

/usr/lib/nls/loc/DE_DE.UTF-8.src for the German UTF-8 locale, you will find one<br />

entry for each of the keywords graph and print in the LC_CTYPE category<br />

statement:<br />

*************<br />

LC_CTYPE<br />

*************<br />

...<br />

graph /<br />

...<br />

;/<br />

...<br />

;/<br />

...<br />

print /<br />

...<br />

;/<br />

...<br />

;/<br />

...<br />

END LC_CTYPE<br />

( refers to the old European currency symbol.)<br />

The locale definition source files belong to the separately installable<br />

bos.loc.adt.locale fileset. Note that the Euro sign is added for all UTF-8 based<br />

locales not only for the locales of the countries which are member of the<br />

European Monetary Union. Indeed, this is one of the advantages of the Universal<br />

Coded Character Set (UCS).<br />

10.5.2.2 Euro Sign Encoding<br />

For each UTF-8 based locale, the UTF-8 character set description source file<br />

/usr/lib/nls/charmap/UTF-8 maps the old European currency symbol to U+20A0<br />

and the new Euro sign to U+20AC. Each character symbol definition consists of a<br />

symbol name and the character encoding. In our case, the code value is given as<br />

a set of three hexadecimal constants:<br />

...<br />

# Currency Symbols : U20A0 - U20CF<br />

#<br />

<br />

...<br />

<br />

...<br />

\xe2\x82\xa0<br />

\xe2\x82\xac<br />

Table 50 provides an overview of the different encoding for the<br />

and the :<br />

Table 50. Encoding for the European Currency Symbol and Euro Sign<br />

Encoding <br />

UCS-2:<br />

Hexadecimal<br />

Representation<br />

20A0<br />

20AC<br />

National Language Support 255

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

Saved successfully!

Ooh no, something went wrong!