1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Could not handle iso-2022-jp streams which contain continuous escape

sequences.

Signed-off-by: HIRANO Takahito <hiranotaka@zng.info>
This commit is contained in:
HIRANO Takahito 2011-03-19 18:05:07 +09:00
parent 0118f64f81
commit 6c37741e63

View File

@ -26,7 +26,7 @@ class Iso2022JpToShiftJisInputStream extends InputStream {
} }
int in1 = mIn.read(); int in1 = mIn.read();
if (in1 == 0x1b) { while (in1 == 0x1b) {
in1 = mIn.read(); in1 = mIn.read();
if (in1 == '(') { if (in1 == '(') {
in1 = mIn.read(); in1 = mIn.read();