code: function formatHex(t) { //char
  		// not compatible with GWT...
  		// return String.format("\\u%04x", (int)t);
  		var sb = '';
  		sb += '\\u';
  		var s = t.charCodeAt(0).toString(16);
  		for (var i = s.length; i < 4; i++) sb += '0';
  		sb += s;
  		return sb;
  	}
docs: given a character, return a string like "\\uxxxx", with its code in hex