HP-UX 11.0 - 11i Internationalization Features White Paper Edition 4 Manufacturing Part Number: 5991-1194 E0405 © Copyright 2001-2003, 2005 Hewlett-Packard Development Company L.P.
Legal Notices The information in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be held liable for errors contained herein or direct, indirect, special, incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Publication History The manual publication date and part number indicate its current edition. The publication date will change when a new edition is released. New editions of this manual will incorporate all material updated since the previous edition. For the latest version, see http://docs.hp.com. • First Edition: June 2001, 5971-2270, HP-UX 11i Version 1 • Second Edition: July 2002, 5990-3000, HP-UX 11i Version 1.
Contents About This Guide Organization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Suggested Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1. NLS Fileset Organization New NLS Directory Layout [11i v1.5]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Hong Kong Supplementary Character Set [11i v1.6]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Converting Between Encodings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Corrected Character Mappings to iconv (1) and iconv (3C) [11.0 patch, 11i v1] . . . . . . . . . . . . . . . . . Correction for Simplified Chinese . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 4. Asian System Environment (ASE) ASE Changes [11.0] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . JSE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . KSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 5. Commands and Libraries Changed Commands [11.0] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . spell(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . tar(1) . . . . . . .
Contents wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Modified interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . fprintf, printf, snprintf, sprintf, fscanf, scanf, sscanf. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . fputwc, putwc, putwchar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tables Table 1. Document Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 1-1. HP-UX 11i v2 Filesets within the HPUXBaseOS bundle. . . . . . . . . . . . . . . . . . . . . . . . . Table 1-2. ASE Functions Bundled for HP-UX 11.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 1-3. ASE Functions Bundled for HP-UX 11i v1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 1-4.
Tables Table 5-1. Two-byte Values Recognized by Asian Locales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Table 5-2. Deprecated Internationalization Features as of HP-UX 11i Version 2 . . . . . . . . . . . . . .
Tables 12
About This Guide The purpose of this document is to present the changes made to the Native Language Support features in the various releases of HP-UX beginning with release 11.0. Organization The following table illustrates which changes to Native Language Support features described in this manual have been introduced in which HP-UX release. All subheadings under listed headings are also included unless otherwise indicated. Table 1 Document Reference HP-UX Release Section “ASE Bundles [11.
Table 1 Document Reference (Continued) HP-UX Release Section “ASE Bundles [11i v1]” on page 18 “Euro (ISO 8859-15 Locales) [11.0 patch, 11i v1]” on page 20 “Euro - ISO 10646/Unicode Support [11i v1]” on page 22 “Unicode 2.1 Support [11.0 patch, 11i v1]” on page 30 “Corrected Character Mappings to iconv (1) and iconv (3C) [11.0 patch, 11i v1]” on page 36 “Enhanced Print Capabilities in ASE [11.0 patch, 11i v1]” on page 61 11i Version 1 “ASE Changes [11i v1 and 11i v1.
Table 1 Document Reference (Continued) HP-UX Release Section “Fileset Restructuring for NLS Components [11i v2]” on page 17 “Unicode 3.0 Support [11i v2]” on page 33 “Mainframe iconv Converters for Japanese characters [11.
NLS Fileset Organization New NLS Directory Layout [11i v1.5] 1 NLS Fileset Organization New NLS Directory Layout [11i v1.5] Directory structure changes for IPF specific NLS elements have been made for HP-UX 11i v1.5 and later. See “Directory Structure Changes” on page 44.
NLS Fileset Organization Organization of ASE Bundles Organization of ASE Bundles ASE Bundles [11.0] For 11.0, the ASE functions have been bundled as follows: Table 1-2 ASE Functions Bundled for HP-UX 11.
Encoding Characters 2 Encoding Characters Chapter 2 19
Encoding Characters Euro Support Euro Support Euro (ISO 8859-15 Locales) [11.0 patch, 11i v1] Euro support is provided through locale support for the ISO 8859-15 character set. ISO 8859-15 is a newly ratified character set that differs from ISO 8859-1 by supporting eight new characters. Specific enhancements are provided to allow Euro display, input, and processing capabilities. Fourteen new locales, listed in Table 2-1, have been created based on ISO 8859-15.
Encoding Characters Euro Support 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.
Encoding Characters Euro Support Euro - ISO 10646/Unicode Support [11i v1] HP-UX 11i v1 provides system level support for the Unicode 2.1/ISO 10646 character set. Hewlett-Packard support for Unicode provides a basis of enabling heterogeneous interoperability for all geographic areas. ISO 10646 is an industry standard for defining a single encoding that uniquely encodes all the characters of the modern world. Unicode 2.1 is the companion specification to ISO 10646. Unicode specification at revision 2.
Encoding Characters Euro Support Table 2-3 Supplied utf8 Locale Sources Supporting Dual Currency (Continued) Locale Language (Region) it_IT.utf8 Italian (Italy) nl_NL.utf8 Dutch (The Netherlands) no_NO.utf8 Norwegian (Norway) pt_PT.utf8 Portuguese (Portugal) sv_SE.utf8 Swedish (Sweden) To build these locales, refer to the localedef (1M) man page. When the LANG and/or LC_* environment variables are set to a euro supported locale, the national monetary formatting rules are used.
Encoding Characters Euro Support libc Standard libc supports @euro dual currency designation.
Encoding Characters Euro Support Impact To use euro monetary formatting rules, the LC_MONETARY environment variable must be set to the euro supported locale name with the @euro modifier appended to it. The size requirement for locale sources and binaries is 20.1 MB, and 191 KB for the converter tables. There are no compatibility issues involved with the addition of these features.
Encoding Characters Euro Support Data Conversion (iconv) for the Greek Euro The following Greek iconv converters have been updated to support the four new characters added to ISO-88597 (see Table 2-9 in the Euro-enabled Greek Locales section) in conversions with UTF-8 and Unicode: iso87 <-> ucs2 iso87 <-> utf8 The following iconv converters are now available to support data conversions between Greek EBCDIC (code page 875) and UTF-8/Unicode: greee <-> ucs2 greee <-> utf8 ISO-88597 and Greek EBCDIC converters
Encoding Characters Euro Support Table 2-10 Modified Code Mapping Changes From ISO-88597 (Continued) ISO-88597 Code Page 875 (Incorrect) Code Page 875 (Corrected) 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 Table 2-11 shows the modified code mapping changes made in converting from Greek EBCDIC / Code Page 875 to IS
Encoding Characters Euro Support Table 2-11 Modified Code Mapping Changes From Greek EBCDIC/Code Page 875 Code Page 875 ISO-88597 (Incorrect) ISO-88597 (Corrected) 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
Encoding Characters Euro Support 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 four 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.
Encoding Characters Unicode 2.1 Support [11.0 patch, 11i v1] Unicode 2.1 Support [11.0 patch, 11i v1] HP-UX provides system-level support for the Unicode 2.1/ISO 10646 character set. Hewlett-Packard’s support for Unicode provides the basis for enabling heterogeneous interoperability for all locales. ISO 10646 is an industry standard for defining a single encoding that uniquely encodes all the world’s characters. Unicode 2.1 is the companion specification to ISO 10646.
Encoding Characters Unicode 2.1 Support [11.0 patch, 11i v1] Table 2-15 Asian utf8 Locales for 32-bit Application Processing Locale Language (Region) ja_JP.utf8 Japanese (Japan) ko_KR.utf8 Korean (Korea) zh_CN.utf8 Simplified Chinese (China) zh_HK.utf8 Traditional Chinese (Hong Kong) zh_TW.utf8 Traditional Chinese (Taiwan) To enable Unicode support in applications, set the environment variable to a desired utf8 locale.
Encoding Characters Unicode 2.1 Support [11.0 patch, 11i v1] Table 2-17 Unicode Asian Locales and Localized Files Language (Region) Size Japanese (Japan) 3.4 MB Korean (Korea) 2.4 MB Simplified Chinese (China) 2.5 MB Traditional Chinese (Hong Kong) 1.7 MB Traditional Chinese (Taiwan) 4.2 MB Performance Applications using Unicode support should see performance comparable to that of other multibyte codesets.
Encoding Characters Unicode 3.0 Support [11i v2] Unicode 3.0 Support [11i v2] Summary of Change HP-UX 11i v2 includes Unicode 3.0 support, which is an extension to the previously supported Unicode 2.1 standard. Unicode 3.0 is aligned with the revised ISO 10646-1:2000 standard and includes an additional 10,194 characters from the previous version of the standard. Most notable of these additional characters are 6,582 new CJK characters (Han Extension A) for use in various Asian countries.
Encoding Characters Support for the GB18030 Standard [11i v1.6] Support for the GB18030 Standard [11i v1.6] GB18030 is officially referred to as “Chinese National Standard GB 18030-2000: Information Technology Chinese Ideograms Coded Character Set for Information Interchange - Extension for the Basic Set”. It is a government mandated conformance requirement for all products sold in China, effective as of September 1, 2001.
Encoding Characters Hong Kong Supplementary Character Set [11i v1.6] song18u.pcf and song24u.pcf contain all the 2-byte and 4-byte characters whose patterns are defined in GB18030, including Mongolian, Tibetan, Yi, and Uigur characters. Those characters are assigned to the code points defined in ISO10646-1:2000.
Encoding Characters Converting Between Encodings Converting Between Encodings Corrected Character Mappings to iconv (1) and iconv (3C) [11.0 patch, 11i v1] This release contains defect fixes for incorrect character mappings. The corrections concern the Simplified Chinese, Traditional Chinese, Japanese, and Korean characters of HP-UX. Corrected character converter mappings allow for improved interoperability when sending or receiving converted character data to and from Unicode-aware systems.
Encoding Characters Converting Between Encodings In the case of big5 coding to and from UCS2/UTF-8, the Ideographic Space character was absent in the Unicode conversion table mapping: Table 2-21 big5 Changes in iconv Tables for big5/Unicode Incorrect UCS2 0xA140 Correct UCS2 0x3000 Char Name Ideographic Space The following table summarizes the changes applied for conversions between eucTW and UCS2.
Encoding Characters Converting Between Encodings No compatibility problems are anticipated. However, if compatibility concerns arise with regard to persistent data stored either in Unicode (UCS2) or UTF-8 on an HP-UX system, it is possible to generate a simple conversion script to search for each occurrence of an incorrect value in either UCS2 or UTF-8 and convert it to the correct value, based on the mappings in Table 2-23.
Encoding Characters Converting Between Encodings Affected iconv conversions are conversions between sjis and UCS2 or UTF-8 as well as conversions between eucJP and UCS2 or UTF-8. The sjis=ucs2, ucs2=sjis, eucJP=ucs2 and ucs2=eucJP iconv conversion tables are affected. These tables are shared by both UCS2 and UTF-8 conversions. No compatibility problems are anticipated.
Encoding Characters Converting Between Encodings JIS X0221 is the Japanese national standard equivalent to ISO-10646:1993 and Unicode 2.1. NOTE These tables convert between HP’s EUC and Shift-JIS (SJIS) characters to those specified by the strict JIS X0201 interpretation as well as the Microsoft Unicode and UTF-8 mappings. The JIS X0221 Extended conversion mappings are already supported within HP-UX. These new converters require 0.6 MB of additional space.
Encoding Characters Converting Between Encodings Table 2-28 illustrates the mapping variances between converter tables when converting between EUC and different interpretations of Unicode character mappings. NOTE Table 2-28 EUC The JIS X0201 Extended (Unix) mappings are already available on HP-UX, referenced in this table as eucJP.
Encoding Characters Converting Between Encodings Mainframe iconv Converters for Japanese characters [11.0 patch, 11i v1 patch, 11i v2] Mainframe iconv converters between ShiftJIS/eucJP/UCS2 and NEC-JIPS/Hitachi-KEIS/Fujitsu-JEF, were introduced at HP-UX 11i v1.0. This release includes several fixes of mapping errors for JIS standard characters.
Locales New ISO 8859-15 and UTF-8 Locales [11.0 patch, 11i v1] 3 Locales New ISO 8859-15 and UTF-8 Locales [11.0 patch, 11i v1] Fourteen new locales have been created for Euro support based on ISO 8859-15. Refer to Table 2-1 on page 20. Thirteen new locales have been created for Unicode (and Euro) support based on UTF-8.
Locales Changed locale and localedef Commands [11i v1.5] Changed locale and localedef Commands [11i v1.5] To enable smooth migration from PA to IPF, both PA and IPF locale libraries and iconv methods need to exist on an Itanium-based system. Directory Structure Changes The current directory structure on 64-bit PA systems is: /usr/lib/nls/loc/locales.1 /usr/lib/nls/loc/locales.2 /usr/lib/nls/loc/locales /usr/lib/nls/loc/methods.1 /usr/lib/nls/loc/methods.
Locales Changed locale and localedef Commands [11i v1.5] A new option, -A, lists all the locale libraries regardless of the flavors and versions. This list includes locales in these directories: /usr/lib/nls/loc/locales.2 /usr/lib/nls/loc/pa20_64/locales.2 /usr/lib/nls/loc/hpux32/locales.1 /usr/lib/nls/loc/hpux64/locales.1 Changes to localedef Command Beginning in 11.0, localedef builds both 32-bit and 64-bit locale libraries on 32-bit and 64-bit systems for PA.
Locales Building Locales for HP-UX 11.0 and HP-UX 11i Building Locales for HP-UX 11.0 and HP-UX 11i HP-UX 11.0 and HP-UX 11i systems can have up to three different flavors of the same locale: • • • 32-bit 64-bit HP-UX 10.20 compatibility 32-bit The following sections present build requirements, briefly describe each flavor, and give the locale building procedure. The locale zh_CN.utf8 is used as an example.
Locales Changes to Locales [11i v1.6] • To build, run the following command on a 64-bit machine. This command produces 32- and 64-bit locales. The 64-bit locale is created under the ./pa20_64 directory. localedef -C '+ESlit' -Q -L -x -Pcnf utf8.cm -m univ.utf8.m -i \ zh_CN.utf8.src zh_CN.utf8 > zh_CN.out 2> zh_CN.err Compatibility 32-bit locales • • • Located at /usr/lib/nls/loc/locales.1/zh_CN.utf8. Used by HP-UX 10.20 applications. To build, run the following command on a 10.
Locales New Latin and South American Locales [11i v2] New Latin and South American Locales [11i v2] Summary System level support is provided for numerous Latin/South American countries in HP-UX 11i v2. This includes support for the input, storage, retrieval, display and printing of characters encoded in ISO-88591, ISO-885915 or UTF-8 character sets. A total of 51 new locales are provided in HP-UX 11i v2 to enable system level support for the Latin/South American geographies.
Locales New Latin and South American Locales [11i v2] Printer Support The following printer model files have been enhanced to support these locales: • • • • • • • • • • • • • • • • PCL4 PCL5 colorlaserjet deskjet1200C deskjet1600CM hp33447a hp5000c30 hp5000f100 hpC1208a laserjet laserjet4 laserjet4Si laserjet4v laserjet5Si laserjetIIISi paintjetXL300 To specify printing in either of the ISO-885915 or UTF-8 locales, use the lp option -ocs9N (or -oscs9N) to select the correct character set as the primary (o
Locales List of supported locales as of HP-UX 11i v2 List of supported locales as of HP-UX 11i v2 Table 3-2 Supported Locales Language (Territory) Locale Names ar_DZ.arabic8 Arabic (Algeria) ar_DZ.utf8 ar_SA.arabic8 Arabic (Saudi Arabia) ar_SA.iso88596 ar_SA.utf8 bg_BG.iso88595 Bulgarian (Bulgaria) bg_BG.utf8 zh_CN.gb18030 Chinese, Simplified (China) zh_CN.hp15CN zh_CN.utf8 zh_HK.hkbig5 Chinese, Traditional (Hong Kong) zh_HK.utf8 zh_TW.big5 zh_TW.ccdc Chinese, Traditional (Taiwan) zh_TW.eucTW zh_TW.
Locales List of supported locales as of HP-UX 11i v2 Table 3-2 Supported Locales (Continued) Language (Territory) Locale Names C C.iso88591 English (Computer) C.iso885915 C.utf8 POSIX en_GB.iso88591 en_GB.iso885915@euro English (United Kingdom) en_GB.roman8 en_GB.utf8 en_US.iso88591 English (United States) en_US.roman8 en_US.utf8 fi_FI.iso88591 fi_FI.iso885915@euro Finnish (Finland) fi_FI.roman8 fi_FI.utf8 fr_CA.iso88591 fr_CA.iso885915 French (Canada) fr_CA.roman8 fr_CA.utf8 fr_FR.iso88591 fr_FR.
Locales List of supported locales as of HP-UX 11i v2 Table 3-2 Supported Locales (Continued) Language (Territory) Locale Names el_GR.iso88597 Greek (Greece) el_GR.greek8 el_GR.utf8 iw_IL.iso88598 Hebrew (Israel) iw_IL.hebrew8 iw_IL.utf8 hu_HU.iso88592 Hungarian (Hungary) hu_HU.utf8 is_IS.iso88591 is_IS.iso885915@euro Icelandic (Iceland) is_IS.roman8 is_IS.utf8 it_IT.iso88591 it_IT.iso885915@euro Italian (Italy) it_IT.roman8 it_IT.utf8 ja_JP.SJIS ja_JP.eucJP Japanese (Japan) ja_JP.kana8 ja_JP.
Locales List of supported locales as of HP-UX 11i v2 Table 3-2 Supported Locales (Continued) Language (Territory) Locale Names pt_BR.iso88591 Portuguese (Brazil) pt_BR.iso885915 pt_BR.utf8 pt_PT.iso88591 pt_PT.iso885915@euro Portuguese (Portugal) pt_PT.roman8 pt_PT.utf8 ro_RO.iso88592 Rumanian (Rumania) ro_RO.utf8 ru_RU.iso88595 Russian (Russia) ru_RU.utf8 hr_HR.iso88592 Serbocroatian (Croatia) hr_HR.utf8 sk_SK.iso88592 Slovak (Slovakia) sk_SK.utf8 sl_SI.iso88592 Slovene (Slovenia) sl_SI.utf8 es_AR.
Locales List of supported locales as of HP-UX 11i v2 Table 3-2 Supported Locales (Continued) Language (Territory) Locale Names es_CR.iso88591 Spanish (Costa Rica) es_CR.iso885915 es_CR.utf8 es_EC.iso88591 Spanish (Ecuador) es_EC.iso885915 es_EC.utf8 es_SV.iso88591 Spanish (El Salvador) es_SV.iso885915 es_SV.utf8 es_GT.iso88591 Spanish (Guatemala) es_GT.iso885915 es_GT.utf8 es_MX.iso88591 Spanish (Mexico) es_MX.iso885915 es_MX.utf8 es_NI.iso88591 Spanish (Nicaragua) es_NI.iso885915 es_NI.
Locales List of supported locales as of HP-UX 11i v2 Table 3-2 Supported Locales (Continued) Language (Territory) Locale Names es_ES.iso88591 es_ES.iso885915@euro Spanish (Spain) es_ES.roman8 es_ES.utf8 es_UY.iso88591 Spanish (Uruguay) es_UY.iso885915 es_UY.utf8 es_VE.iso88591 Spanish (Venezuela) es_VE.iso885915 es_VE.utf8 sv_SE.iso88591 sv_SE.iso885915@euro Swedish (Sweden) sv_SE.roman8 sv_SE.utf8 Thai (Thailand) th_TH.tis620 tr_TR.iso88599 Turkish (Turkey) tr_TR.turkish8 tr_TR.
Locales List of supported locales as of HP-UX 11i v2 56 Chapter 3
Asian System Environment (ASE) 4 Asian System Environment (ASE) ASE is the system for these four Asian countries: JSE Japanese System Environment KSE Korean System Environment SSE Simplified-Chinese System Environment TSE Traditional-Chinese System Environment Chapter 4 57
Asian System Environment (ASE) ASE Changes [11.0] ASE Changes [11.0] The following information is common to each of these environments: • ximsstart is replaced with dtimsstart on HP-UX 11.0 CDE. With this change, XimsMode in “Application Manager - Desktop_tools” on CDE is replaced with DtImsMode. • The command /usr/bin/X11/ximsmode has been removed in HP-UX 11.0. No alternative is provided. • The following HP proprietary locale names are no longer supported. — — — — — — japanese japanese.
Asian System Environment (ASE) ASE Changes [11.0] • Printing Asian PCL files to LIPS, PS, ESC/P, and Japanese PCL printers is no longer supported. Table 4-2 shows the Asian PCL files that can no longer be printed using the following model files as of HP-UX Release 11.0. Table 4-2 Obsolete Model Files Model Files Option LIPS3 -opcl LIPS4 -opcl PS.nlio -opcl ESCP -opcl PCL5.asian -oapcl • Various printing options supporting the lp spooler and HPDPS have been removed as of this release.
Asian System Environment (ASE) ASE Changes [11.0] • Xsi protocol of XJIM is no longer supported. • FSlib - Font Server Access Library is no longer supported. Use the X Print Server instead. • jtos (1)—the code conversion commands jtos, jtou, stoj, stou, utoj and utos are no longer supported.
Asian System Environment (ASE) Enhanced Print Capabilities in ASE [11.0 patch, 11i v1] Enhanced Print Capabilities in ASE [11.0 patch, 11i v1] This release contains enhancements to the printer capabilities of four Asian-country system environments (JSE, KSE, SSE, TSE), as described below. Changes Common to All ASEs • lp Model File—Support for new printers. PCL5.
Asian System Environment (ASE) Enhanced Print Capabilities in ASE [11.0 patch, 11i v1] Users can print Japanese text on the following printers through HPDPS, by configuring the printer with the 2BPCL5.asx printer model. — — — — HP LaserJet 5Si with 2Byte Font SIMM LaserJet 4000 with 2Byte Font DIMM LaserJet 5000 with 2Byte Font DIMM LaserJet 8000 with 2Byte Font DIMM Users can print Japanese text on following printers through HPDPS by configuring the printer with the PS.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.5] ASE Changes [11i v1 and 11i v1.5] HP-UX provides several Asian enhancements as server features, including some new Asian codesets, UDC (User Defined Characters, or Gaiji), printing, and codeset conversions with mainframe codesets. New, changed, and deleted features, as well as troubleshooting information is described in the following sections.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.5] — For HPDPS, the common printer model directories PCL5.asx, 2BPCL5.asx and ESCP.asx are provided for future new printer support. The user can copy these sample printer model directories to a directory under /var/opt/pd/lib/model with an appropriate name and customize it to be suited for the printer being configured. This feature is not available for 11i Version 1.5. • JSE — ATOK X for HP-UX Preview Edition [not applicable for 11i Version 1.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.5] Table 4-4 New Printer Models for JSE (Continued) Printer LP Spooler Model File HPDPS Printer Model File [not for 11i Version 1.5 and later] OKI Microline 9XXPSIIIb PS2.nlio PS2.asx OKI Microline 703N(3)b PS2.nlio PS2.asx EPSON VP-1800 ESCP ESCP.asx OKI 533OS ESCP ESCP.asx OKI 835OS ESCP ESCP.asx OKI 858OS ESCP ESCP.asx NEC LL-15 (NPDL2) NPDLII NPDLII NEC LL-30 (NPDL2) NPDLII NPDLII NEC LL-15 (ESC/P)c ESCP ESCP.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.5] • TSE — Traditional Chinese UTF-8 locales zh_TW.utf8 and zh_HK.utf8 are supported. On these locales, you can input, display, and print UTF-8 characters. There is support for characters defined in standards ISO 10646, CNS 11643 (1992) planes 1, 2, 3 and 4, except for some characters that are not supported by Unicode 2.1. UDCs and VDCs are not supported. For details, see the document /usr/share/doc/ASX-UTF8.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.5] Troubleshooting Information • JSE — XJIM — On a low-resolution display, the Customize window is cut off by default. Specify the 14-dot font with -fn option or XJim*fontList resource.
Asian System Environment (ASE) ASE Changes [11i v1 and 11i v1.5] — JIS Keyboard — Do not set the KBD_LANG shell variable or Motif 1.1 applications will not work with a JIS keyboard. — The Yen key on the JIS keyboard with X terminal does not work correctly. To use the Yen key, execute the command: $ xmodmap -e "keysym yen = backslash bar prolongedsound" — 106/109 Keyboard — You cannot turn off EGBridge (although you can turn it on). The solution is to change the key map file $HOME/.
Asian System Environment (ASE) ASE Changes [11i v1.6] ASE Changes [11i v1.6] This release of HP-UX introduces several new changes and enhancements to the Asian System Environment. This section presents a summary of these new features. Changes Common to all ASEs The following items apply to all of the ASEs. True Type Fonts for Asian Languages TrueType is a digital font technology consisting of TrueType fonts and the rasterizer.
Asian System Environment (ASE) ASE Changes [11i v1.6] • New size requirements for each language are introduced. Table 4-6 illustrates the size requirements. Table 4-6 Size Requirements TrueType Fonts Size Japanese 32 MB Korean 71 MB Chinese (Simplified) 39 MB Chinese (Traditional) 41 MB • The TrueType fonts in the X Window environment are available only through the X font server, xfs.
Asian System Environment (ASE) ASE Changes [11i v1.
Asian System Environment (ASE) ASE Changes [11i v1.6] KSE Other than the TrueType fonts, no new changes have been introduced for KSE with this release of HP-UX. SSE The following changes have been introduced to SSE with this release of HP-UX. Support for the GB18030 Standard The following items are applicable with the introduction of GB18030 Standard support: • PCL5.
Asian System Environment (ASE) ASE Changes [11i v1.6] If the first two key inputs are from 81 to FE, and the following two key inputs are from 30 to 39, XSIM WILL wait for another set of four key inputs, ranging from 81 to FE as the next two key inputs, and 30 to 39 as yet another two key inputs to generate one 4-byte character immediately after the eighth key is entered. XSIM beeps for any non-hexidecimal keys during four or eight key inputs.
Asian System Environment (ASE) ASE Changes [11i v1.6] — ESCP is another printer model file to print Asian multibyte characters on ESC/P emulation printers. It requires that Asian fonts be previously installed in the printers. — hpc1205at is another printer model file to print on HP legacy HP C1200A/C1205A line printers. It requires printers to have the Big5 font installed. Table 4-9 HKSCS-related Primary Printing Options Option Behavior zh_HK.
Asian System Environment (ASE) ASE Changes [11i v2] ASE Changes [11i v2] Changes to Simplified Chinese Input Methods In order to support input for characters defined by the GB18030 standard a new Chinese input method, Intelligent ABC, has been added to HP-UX. Two obsolete Simplified Chinese input methods have been removed. Since 2001 HP-UX has supported the China mandatory National Standard GB18030, but did not have a modern S-Chinese input method for the input of GB18030 characters.
Asian System Environment (ASE) ASE Changes [11i v2] Host-installed TrueType fonts are Mincho and Gothic typefaces for ja_JP.SJIS/ja_JP.eucJP/ja_JP.utf8 locales, Batang and Dotum typefaces for ko_KR.eucKR/ko_KR.utf8 locales, Sun and Hei typefaces for zh_CN.hp15CN/zh_CN.gb18030/zh_CN.utf8 locales, and Ming typeface for zh_TW.ccdc/zh_TW.big5/zh_TW.eucTW/zh_TW.utf8/zh_HK.hkbig5/zh_HK.utf8 locales. The character sets of these TrueType fonts comply with country and regional standards.
Asian System Environment (ASE) ASE Changes [11i v2] 78 Chapter 4
Commands and Libraries Changed Commands [11.0] 5 Commands and Libraries Changed Commands [11.0] spell(1) In 11.0: This command cannot be well specified in an internationalized environment. There is no known technology that can be used to recognize general language for user-specified input without providing a complete dictionary along with the input file. Status X/Open Withdrawn/To be Withdrawn. tar(1) In 11.
Commands and Libraries Functions and Interfaces [11.0] Functions and Interfaces [11.0] Internationalization- and Localization-related Changes The multibyte routines (mblen(), mbtowc(), mbstowcs(), wctomb(), and wcstombs()) in past releases have incorrectly identified certain invalid characters as valid for the ko_KR.eucKR, zh_CN.hp15CN, zh_TW.big5, and zh_TW.ccdc locales.
Commands and Libraries Obsolete/Deprecated Commands and Interfaces Obsolete/Deprecated Commands and Interfaces Deprecated Internationalization Functionality [11i v2] Several commands, library routines and lp model files, that implement internationalization functionality are being deprecated as of this release.
Commands and Libraries Command Changes [11i v1.6] Impact Users should check for any usage of these items. Where applicable, users are encouraged to begin using the commands suggested as replacements. Compatibility At this release, there are no impacts to compatibility, since the functionality referenced is supplied in the current release.
Graphical User Interfaces HP Common Desktop Environment and Motif [11.0] 6 Graphical User Interfaces HP Common Desktop Environment and Motif [11.0] HP CDE 2.1 HP CDE 2.1 is the latest version on HP-UX 11.0, superseding HP CDE 1.0 as shipped with previous releases. There are a few small functional differences between the run-time functionality of HP CDE 1.0 and 2.1. For selected locales, input methods can be selected at session start (using dtimsstart). HP CDE 1.0 was localized in 10 languages. HP CDE 2.
Graphical User Interfaces X Window X Window X Window System (X11 R6) Run-Time Libraries on Workstations [11.0 patch, 11i v1] This release provides workstation support for: • • Japanese 109-key keyboards. 64-bit X Window System shared library (stack). The following X and Motif libraries are available in 64-bits: • • • • • • • • • • • • libMrm.a libXm.4 libICE.2 libSM.2 libX11.3 libXIE.2 libXext.3 libXhp11.3 libXi.3 libXp.2 libXmu (new with HP-UX 11.0 ACE 9911) libXaw (new with HP-UX 11.
Miscellaneous Modifications New Supported USB Keyboards [11.0 patch, 11i v1] 7 Miscellaneous Modifications New Supported USB Keyboards [11.0 patch, 11i v1] New supported USB keyboards include: • A4983-60401 English, U.S. • A4983-60403 German, Germany • A4983-60404 Spanish, European • A4983-60405 French, France • A4983-60406 Japanese, Kanji • A4983-60409 Norwegian • A4983-60411 Swiss-German • A4983-60412 Swedish • A4983-60413 English, U.K.
Miscellaneous Modifications Multibyte Support Extension and Unix98 Support [11i v1] Multibyte Support Extension and Unix98 Support [11i v1] A new set of multibyte APIs have been added to libc following C99 specification (ISO/IEC 9899:1999), and the Unix98 specification. These APIs extend the already existing multibyte and wide character APIs in order to be able to: • Perform input and output of wide character, or multibyte character, or both. • Perform general wide string manipulation.
Miscellaneous Modifications Multibyte Support Extension and Unix98 Support [11i v1] Under the C shell this is accomplished using setenv UNIX_STD 98 A cc compiler equal to HP92453-01 A.11.01.20 HP C Compiler or newer is required to get this functionality. The following list is a summary of the new and modified APIs. For further details, please refer to the corresponding man pages.
Miscellaneous Modifications Multibyte Support Extension and Unix98 Support [11i v1] wcrtomb wcrtomb() converts a wide-character to a multibyte character. It determines the number of bytes needed to represent the character corresponding to the wide-character code whose value is specified by the second argument. wcsrtombs wcsrtombs() converts a wide-character string to a character string. Note that the behavior of this function is affected by the LC_CTYPE category of the current locale.
Miscellaneous Modifications Potential Modifications to NLS as of HP-UX 11i Potential Modifications to NLS as of HP-UX 11i The following interfaces are subject to change or obsolescence in the next major release: • The NLS configuration file is an HP-specific file and not specified by standards, and as such, it is subject to change in future releases. The /usr/lib/nls/config file may be moved to /usr/lib/nls/loc/config.
Miscellaneous Modifications Potential Modifications to NLS as of HP-UX 11i • Future MSE changes: ISO/MSE 9899:1990/Amendment 1:1994(E) defines extensions to ISO/MSE:1990 Programming Language -C. The amendment provides a more complete and consistent set of utilities for application programming using multibyte and wide-character functions, as well as providing alternate spellings for language-specific tokens. ANSI C has since adopted this amendment, and X/Open will eventually align with this amendment.
Glossary ASE Asian System Environment ASX Asian System Extension (formerly known as NLIO; as of HP-UX 10.
Glossary ASE 92 Glossary
Index Numerics 11.0/11.0 patch/11i v1 versions ASE changes, 58 CDE, 83 commands, 79 euro symbol support, 20 future NLS modifications, 89 MSE/Unix98 support, 86 USB keyboard support, 85 X Window, 84 11i v1.6 JSE changes, 71 kernel changes, 82 SSE changes, 73 TrueType fonts, 70 TSE changes, 74 11i v2 NLS fileset organization, 17 32-bit locales, 11.0/11i, 46 64-bit locales, 11.0/11i, 46 A ASE (Asian System Environment) 11.
Index ISO 8859-15 euro symbol support, 20 IBM codepages, 24 UTF-8 locales, 43 ISO 88597 code mapping changes, 26 J Japanese System Environment (JSE) 11.0/11i v1 changes, 38, 59, 61, 71 font and printer changes, 59, 61, 64, 71 keyboard changes, 67 troubleshooting information, 68 K kernel changes 11.0/11i locales, 46 11i v1.6, 82 obsolete functionalities, 82 keyboard functionality JSE support, 59, 64 KSE support, 66 SSE support, 66 troubleshooting, 69 TSE support, 67 Korean System Environment (KSE) 11.
Index sscanf(), 88 stream orientation and MSE/Unix98 support, 86 Streams PTY driver, 32 swprintf(), 87 swscanf(), 87 T tar(1), 79 towctrans(), 87 Traditional Chinese System Environment (TSE) 11.0/11i v1 changes, 36, 60, 62, 67, 74 font and printer changes, 62 TrueType fonts 11.0/11i v1 changes, 64 11i v1.6 changes, 70 printing, 76 X Window, 71 X Window System 11.