AS/U cannot handle the following Shift-JIS characters
because the unicode conversion table differs between HP and Microsoft.
The HP conversion table conforms to the Unicode standard, whereas
the Microsoft conversions are a variant to support backward compatibility
with earlier Microsoft platforms (Windows 95, Windows 3.1).
SJIS code 8160 8161 817C 8191 8192 81CA
HP Unicode 301C 2016 2212 00A2 00A3 00AC MS Unicode FF5E 2225 FF0D FFE0 FFE1 FFE2
As a workaround, you can modify the iconv conversion table
bundled with HP-UX using the following procedure from the HP-UX
prompt.
 |
 |  |
 |
 | CAUTION: This procedure facilitates Microsoft NT and Windows
95 interoperability. However, it modifies original operating system
files and may break other applications which depend on the original
contents of these conversion tables such as those relying on UNIX-based
interoperability of SJIS and Unicode. |
 |
 |  |
 |
Stop the server
net stop server
Modify the sjtouc entries:
dmpxlt /usr/lib/nls/iconv/tables/sjis=ucs2 > sjtouc
vi sjtouc
0X8160 0X301c -----> 0X8160 0Xff5e 0X8161 0X2016 -----> 0X8161 0X2225 .......... 0X81ca 0Xac -----> 0X81ca 0Xffe2
Make a backup of the conversion table:
cp /usr/lib/nls/iconv/tables/sjis=ucs2 sjis=ucs2.org
genxlt sjtouc > /usr/lib/nls/iconv/tables/sjis=ucs2
Modify the uctosj entries:
dmpxlt /usr/lib/nls/iconv/tables/ucs2=sjis > uctosj
vi uctosj
0X301c 0X8160 -----> 0Xff5e 0X8160 0X2016 0X8161 -----> 0X2225 0X8161 .......... 0Xac 0X81ca -----> 0Xffe2 0X81ca
Make a backup of the conversion table:
cp
/usr/lib/nls/iconv/tables/ucs2=sjis ucs2=sjis.org
genxlt
uctosj > /usr/lib/nls/iconv/tables/ucs2=sjis
LANG=ja_JP.SJIS
net start server
Again, please keep the original files so that you
can recover if problems occur.