fix: support for CJK characters with `nchar` thanks to @huashan fix #18