中文 輸入法

搜索：

    public final String readAsciiString(final int n) {
        final char ret[] = new char[n];
        for (int x = 0; x < n; x++) {
            ret[x] = (char) readByte();
        }
        return new String(ret);
    }


替換：

    public final String readAsciiString(int n) {
        byte ret[] = new byte[n];
        for (int x = 0; x < n; x++) {
            ret[x] = readByte();
        }
        try {
        	String str = new String(ret,"GBK");
        	return str;
        }catch(Exception e) {
        	return null;
        }
    }