Use 0x5c for the scan code 0x7d.

Japanese keyboards traditionally use 0x5c for
both Japanese yen sign key and backslash key.
While a Japanese yen sign is depicted on the keytop,
most of Japanese expect that the scan code 0x7d gives
a backslash (0x5c), not a Japanese yen sign (0xa5).

This is because JIS X 0201 encoding (aka ISO/IEC 646-JA,
an extended version of ASCII which is very popular
in Japan) has Japanese yen sign at 0x5c and
no backslash.  On the other hand, ISO/IEC 8859-1
has Japanese yen sign at 0xa5.  This difference has
caused a confusion after Unicode became popular since
ISO/IEC 10646 adopted 8859-1 for the plane 0.

MFC after:	1 week
This commit is contained in:
hrs 2020-02-18 01:50:44 +00:00
parent aab9487cb3
commit ddaaf63da1
2 changed files with 2 additions and 2 deletions

View File

@ -117,4 +117,4 @@
115 '\' '_' fs us '\' '_' fs us O
121 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O
123 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O
125 0xa5 '|' fs us 0xa5 '|' fs us O
125 '\' '|' fs us 0xa5 '|' fs us O

View File

@ -115,4 +115,4 @@
115 '\' '_' fs us '\' '_' fs us O
121 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O
123 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O
125 0xa5 '|' fs us 0xa5 '|' fs us O
125 '\' '|' fs us 0xa5 '|' fs us O