more char encoding issues fixed