HP-UX 9.X - 11I Internationalization Features White Paper
Total Page:16
File Type:pdf, Size:1020Kb
HP-UX 9.x - 11i Internationalization Features White Paper Edition 1 Manufacturing Part Number: 5971-2270 E0601 © Copyright 1983-2001 Hewlett-Packard Company. 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. Warranty A copy of the specific warranty terms applicable to your Hewlett-Packard product and replacement parts can be obtained from your local Sales and Service Office. Restricted Rights Legend Use, duplication or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 for DOD agencies, and subparagraphs (c) (1) and (c) (2) of the Commercial Computer Software Restricted Rights clause at FAR 52.227-19 for other agencies. HEWLETT-PACKARD COMPANY 3000 Hanover Street Palo Alto, California 94304 U.S.A. Use of this manual and flexible disk(s) or tape cartridge(s) supplied for this pack is restricted to this product only. Additional copies of the programs may be made for security and back-up purposes only. Resale of the programs, in their present form or with alterations, is expressly prohibited. Copyright Notices Copyright ã 1983-2001 Hewlett-Packard Company. All rights reserved. Reproduction, adaptation, or translation of this document without prior written permission is prohibited, except as allowed under the copyright laws. 2 Copyright ã 1979, 1980, 1983, 1985-93 Regents of the University of California. This software is based in part on the Fourth Berkeley Software Distribution under license from the Regents of the University of California. Copyright ã 1988 Carnegie Mellon University Copyright ã 1990-1995 Cornell University Copyright ã 1986 Digital Equipment Corporation. Copyright ã 1997 Isogon Corporation Copyright ã 1985, 1986, 1988 Massachusetts Institute of Technology. Copyright ã 1991-1997 Mentat, Inc. Copyright ã 1996 Morning Star Technologies, Inc. Copyright ã 1990 Motorola, Inc. Copyright ã 1980, 1984, 1986 Novell, Inc. Copyright ã 1989-1993 The Open Software Foundation, Inc. Copyright ã 1996 Progressive Systems, Inc. Copyright ã 1989-1991 The University of Maryland Copyright ã 1986-1992 Sun Microsystems, Inc. Trademark Notices. UNIX is a registered trademark in the United States and other countries, licensed exclusively through The Open Group. X Window System is a trademark of the Massachusetts Institute of Technology. MS-DOS and Microsoft are U.S. registered trademarks of Microsoft Corporation. OSF/Motif is a trademark of the Open Software Foundation, Inc. in the U.S. and other countries. ATOK is a trademark of JUSTSYSTEM Corporation. EGBridge is a trademark of ERGOSOFT Corporation. VJE-γ is a Japanese Input Front Processor developed by VACS Corporation. 3 Publication History The manual publication date and part number indicate its current edition. The publication date will change when a new edition is released. The manual part number will change when extensive changes are made. New editions of this manual will incorporate all material updated since the previous edition. For the latest version, see the HP-UX 11i Documentation section on the Web at: http://docs.hp.com First Edition: June 2001 Typographic Conventions This document uses these typographic conventions: Italics Indicates a parameter or argument that you must replace with the actual value, such as ServerName. Also indicates a manpage reference. Bold Indicates words defined for the first time. Also indicates a default value for a flag. constant width C source code, information that the system displays, file names, and locale names appear in constant width type. 4 Contents 1. NLS Fileset Organization FilesetRestructuringForNLSComponents[10.0]............................ 20 NewNLSDirectoryLayout[10.0].......................................... 22 SystemV.4FilesystemChanges[10.0]...................................... 23 Alternatives.......................................................... 23 ASE(AsianSystemEnvironment)DeliveryRestructuring[10.01]............... 24 2. Encoding Characters ExtendedUNIXCodesSupportInCommands[10.0,10.10]..................... 28 ExtendedUNIXCodesSupportInLibraries[10.0]............................ 33 EUCLocales[10.0]...................................................... 34 DiskSpaceRequirements............................................... 34 MigratingHP-UX9.xData............................................. 34 Commands........................................................... 35 dtterm(1).......................................................... 35 eucset(1)........................................................... 35 PacificRimEncodingMethods[10.0]....................................... 36 TraditionalChinese4-ByteEUC......................................... 36 Performance........................................................ 36 ChineseCodeForDataCommunication................................. 37 Japanese3-ByteEUC.................................................. 37 InvalidShift-JIS(SJIS)Ranges.......................................... 38 EuroSupport.......................................................... 39 Euro(ISO8859-15locales)[11.0patch,11i]................................ 39 CDESupport....................................................... 41 XWindowsSupport.................................................. 41 Libraries.......................................................... 41 CodesetConverters.................................................. 41 LaserJetPrinters................................................... 41 Euro-ISO10646/UnicodeSupport[11i]................................... 42 Commands......................................................... 44 libc............................................................... 44 CodesetConverters.................................................. 45 Impact............................................................ 46 UnicodeCharacterSet[11.0Patch,11i]..................................... 47 UnicodeEuroEnhancement............................................ 49 SizeRequirement..................................................... 49 Performance......................................................... 50 5 Contents StreamsPTYDriver[11i]............................................... 50 ConvertingBetweenEncodings........................................... 51 Enhancementstoiconv()Converters[10.0]................................. 51 Newiconv()Converters............................................... 51 iconvNameAliasing................................................. 51 CustomizingiconvTablesandAlgorithms............................... 52 TableSpecificChanges............................................... 52 MiscellaneousiconvChanges.......................................... 53 UnmappedCharacterConversion...................................... 54 InvertibleConversions............................................... 54 Enhancementstoiconv(1)andiconv(3)[10.10].............................. 55 Enhancementstoiconv(1)andiconv(3)[10.20].............................. 56 CorrectedCharacterMappingstoiconv(1)andiconv(3C)[11.0patch,11i]....... 57 CorrectionforSimplifiedChinese...................................... 57 CorrectionforTraditionalChinese..................................... 58 CorrectionforJapanese.............................................. 61 CorrectionforKorean................................................ 62 3. Locales Changestolocales[10.0]................................................. 64 NewDirectoryStructureForLocales..................................... 64 LocaleSourceFiles.................................................... 64 DiskSpaceRequirements............................................. 64 BuildChangeForArchiveInternationalizedApplications.................... 64 Rationale.......................................................... 65 Alternatives........................................................ 65 Compatibility. ............................................... 66 DiskSpaceRequirement.............................................. 66 ISOLocaleNamesSupported........................................... 66 Alternatives........................................................ 70 Performance........................................................ 70 Compatibility. ............................................... 70 ModificationsToLocales............................................... 71 SummaryofChanges................................................ 71 OtherLocaleChanges................................................ 74 Changedoptionsforlocale(1).......................................... 75 Compatibility . ............................................... 75 CharacterMaps(charmaps)Supported.................................... 76 6 Contents DiskSpaceRequirements............................................. 78 Installing a Default Codeset for the C Locale . .................. 78 Alternatives........................................................ 78 Performance........................................................ 79 Changestolocales[10.10]................................................ 79 Changestolocales[10.20]...............................................