Patch Name: PHCO_18030 Patch Description: s700_800 10.20 eucJP/sjis<->UCS2/UTF8 iconv table fix Creation Date: 99/03/22 Post Date: 99/05/06 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: International.JAPANESE Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_18030 Symptoms: PHCO_18030: Four Japanese characters are being incorrectly mapped to different Unicode characters than expected. These mappings are not comformant to the Japanese national standard JIS-0221. Data loss may occur when sending this converted data to Unicode-aware systems (eg. NT). Defect Description: PHCO_18030: Japanese iconv converter tables contain several incorrect entries when converting between SJIS/eucJP and UCS-2/UTF-8. Specifically, the following characters have incorrect mappings: Overline, EM Dash, Yen Sign, and (eucJP only) Fullwidth Tilde. Resolution: The table mappings have been aligned with those specified in the JIS-0221 Extended mapping. (incorrect) SJIS eucJP current UCS-2 correct UCS-2 character ---------------------------------------------------------- 0x8150 0xA1B1 0xFFe3 0x203E Overline 0x818F 0xA1EF 0xFFe5 0x00A5 Yen Sign 0x815C 0xA1BD 0x2015 0x2014 Em Dash n/a 0x8FA2B7 0x02DC 0xFF5E Fullwidth Tilde This affects the following iconv tables: eucJP=ucs2 ucs2=eucJP sjis=ucs2 ucs2=sjis Fixing these tables also fixed the incorrect UTF-8 conversion mappings. SR: 4701384412 Patch Files: /usr/lib/nls/iconv/tables.1/sjis=ucs2 /usr/lib/nls/iconv/tables.1/ucs2=sjis /usr/lib/nls/iconv/tables.1/eucJP=ucs2 /usr/lib/nls/iconv/tables.1/ucs2=eucJP what(1) Output: /usr/lib/nls/iconv/tables.1/sjis=ucs2: $A.10.02 $sjis =) ucs2 /usr/lib/nls/iconv/tables.1/ucs2=sjis: $A.10.02 $ucs2 =) sjis /usr/lib/nls/iconv/tables.1/eucJP=ucs2: $A.10.02 $eucJP =) ucs2 /usr/lib/nls/iconv/tables.1/ucs2=eucJP: $A.10.02 $ucs2 =) eucJP cksum(1) Output: 1552719240 56660 /usr/lib/nls/iconv/tables.1/sjis=ucs2 2007134781 56660 /usr/lib/nls/iconv/tables.1/ucs2=sjis 719328671 105196 /usr/lib/nls/iconv/tables.1/eucJP=ucs2 3927412704 105196 /usr/lib/nls/iconv/tables.1/ucs2=eucJP Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_14775: s700: 11.00 s800: 11.00 Patch Package Size: 370 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_18030 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_18030.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_18030.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_18030. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_18030.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_18030.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None