fixed #6 encoding error for Korean

related with #6