1. fix character set problem