src/jdk.charsets/share/classes/sun/nio/cs/ext/IBM834.java
Print this page
*** 60,70 ****
}
protected static class Encoder extends DoubleByte.Encoder_DBCSONLY {
public Encoder(Charset cs) {
super(cs, new byte[] {(byte)0xfe, (byte)0xfe},
! IBM933.c2b, IBM933.c2bIndex);
}
public int encodeChar(char ch) {
int bb = super.encodeChar(ch);
if (bb == UNMAPPABLE_ENCODING) {
--- 60,70 ----
}
protected static class Encoder extends DoubleByte.Encoder_DBCSONLY {
public Encoder(Charset cs) {
super(cs, new byte[] {(byte)0xfe, (byte)0xfe},
! IBM933.c2b, IBM933.c2bIndex, false);
}
public int encodeChar(char ch) {
int bb = super.encodeChar(ch);
if (bb == UNMAPPABLE_ENCODING) {