jdk/src/share/classes/sun/io/CharToByteMS950_HKSCS.java
changeset 3052 5c9886498f31
parent 2 90ce3da70b43
child 5167 dbd299f8fdae
equal deleted inserted replaced
3051:9481bd560a57 3052:5c9886498f31
    32         return "MS950_HKSCS";
    32         return "MS950_HKSCS";
    33     }
    33     }
    34 
    34 
    35     protected int getNative(char ch) {
    35     protected int getNative(char ch) {
    36         int r = super.getNative(ch);
    36         int r = super.getNative(ch);
    37         return (r != 0) ? r : cbMS950.getNative(ch);
    37         return (r != 0) ? r : cbMS950.encodeChar(ch);
    38     }
    38     }
    39 }
    39 }