Here you can find the source of unsignedChar(char c)
public static int unsignedChar(char c)
//package com.java2s; public class Main { public static int unsignedChar(char c) { return c & 0xFFFF; }//from w w w . j a v a 2 s . co m }