diff options
| author | aiju <devnull@localhost> | 2018-08-28 05:56:29 +0000 |
|---|---|---|
| committer | aiju <devnull@localhost> | 2018-08-28 05:56:29 +0000 |
| commit | 82559c3fdcc8242a1a542a3b4d3076e133fd02a9 (patch) | |
| tree | f00b57fe244977515c63d70dac1e7fe325ac01f6 | |
| parent | 5c945a0b4891a20deeb023b3bd40dee5dda1aaff (diff) | |
| download | plan9front-82559c3fdcc8242a1a542a3b4d3076e133fd02a9.tar.xz | |
shift-jis: add support for half-width kana
| -rw-r--r-- | sys/src/cmd/tcs/conv_jis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/tcs/conv_jis.c b/sys/src/cmd/tcs/conv_jis.c index e6c19f638..c9d09f4cf 100644 --- a/sys/src/cmd/tcs/conv_jis.c +++ b/sys/src/cmd/tcs/conv_jis.c @@ -133,6 +133,10 @@ again: return; } } + if(!set8 && c >= 161 && c <= 223){ + emit(0xFEC0 + c); + return; + } lastc = c; state = state4; return; case state1: /* seen an escape */ |
