Add utf-8 support

Signed-off-by: poc7667 <poc7667@gmail.com>