fixed comment in character set and removed stringWithFormat: in error case of character set