src/share/classes/sun/nio/cs/ext/ISO2022.java

Print this page

        

*** 470,482 **** } ebyte[index++] = ISO_ESC; ebyte[index++] = ISO_SS2_7; ebyte[index++] = (byte)(convByte[2] & 0x7f); ebyte[index++] = (byte)(convByte[3] & 0x7f); ! } ! if((convByte[0] == SS2)&&(convByte[1] == 0xA3)) ! { if(!SS3DesDefined){ newSS3DesDefined = true; ebyte[0] = ISO_ESC; tmpByte = SS3Desig.getBytes(); System.arraycopy(tmpByte, 0, ebyte, 1, tmpByte.length); --- 470,480 ---- } ebyte[index++] = ISO_ESC; ebyte[index++] = ISO_SS2_7; ebyte[index++] = (byte)(convByte[2] & 0x7f); ebyte[index++] = (byte)(convByte[3] & 0x7f); ! } else if((convByte[0] == SS2)&&(convByte[1] == P3)) { if(!SS3DesDefined){ newSS3DesDefined = true; ebyte[0] = ISO_ESC; tmpByte = SS3Desig.getBytes(); System.arraycopy(tmpByte, 0, ebyte, 1, tmpByte.length);