j2me读取Unicode格式

private String read_Uni(String resource) {
    byte word_uni[] = new byte[1024];
    String strReturn = "";
    InputStream is;
    try {
        is = getClass().getResourceAsStream(resource);
        is.read(word_uni);
        is.close();
        StringBuffer stringbuffer = new StringBuffer("");
        for (int j = 0; j < word_uni.length; ) {
            int k = word_uni[j++]; // 注意在这个地方进行了码制的转换
            if (k < 0) {
                k += 256;
            }
            int l = word_uni[j++];
            if (l < 0) {
                l += 256;
            }
            char c = (char) (k + (l << 8)); // 把高位和低位数组装起来
            stringbuffer.append(c);
        }
        strReturn = stringbuffer.toString();
    } catch (IOException e) {
        e.printStackTrace();
    } finally {
        is = null;
    }
    return strReturn;
}