public static char getCharacterByEntityName(String entityName) {
    int c = ourCharacterEntities.get(entityName);
    return c==-1?0:(char)c;
  }
public static char getCharacterByEntityName(String entityName)