resolve #17

I use `iconv` to convert the multibyte characters in `R` to utf-8 and fix the issue.