Patch Name: PHCO_14775 Patch Description: s700_800 11.00 eucJP/sjis UCS2/UTF8 iconv table patch Creation Date: 98/04/08 Post Date: 98/05/12 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: International.JAPANESE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_14775 Symptoms: PHCO_14775: 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_14775: 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. The table mappings should align 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 fixes the incorrect UTF-8 conversion mappings. SR: 0000000000 Patch Files: International.JAPANESE,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /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: International.JAPANESE,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /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: International.JAPANESE,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 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: None Patch Package Size: 340 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_14775 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_14775.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_14775. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_14775.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_14775.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_14775.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_14775.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None