Fixed a encoding related problem