Fix the enconding issue

Signed-off-by: Deven Fan <devenfan@gmail.com>