ref: e16fa28e77bbe7393a60720a6f0654d188109ab7
parent: d62b52ce6db886d4ed12266a86f3e88f95e3bb29
author: aiju <devnull@localhost>
date: Tue Aug 28 01:56:29 EDT 2018
shift-jis: add support for half-width kana
--- a/sys/src/cmd/tcs/conv_jis.c
+++ b/sys/src/cmd/tcs/conv_jis.c
@@ -133,6 +133,10 @@
return;
}
}
+ if(!set8 && c >= 161 && c <= 223){+ emit(0xFEC0 + c);
+ return;
+ }
lastc = c; state = state4; return;
case state1: /* seen an escape */
--
⑨