Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分生僻字转小写之后会得到一个乱码(不可见字符) #48

Open
sanmusee opened this issue May 10, 2024 · 0 comments
Open

Comments

@sanmusee
Copy link

例如“嘪球”在转换之后得到“𪡃球”,还有其他一些字也存在这个问题。查阅源码发现是 TSCharacters.txt 文件中定义的 “嘪 𪡃”导致,是否可以将这类会产生乱码的字用转化之前的字本身来代替,作为兜底策略,防止得到乱码。只需要把该文件中,映射后为乱码的kv对替换掉即可,例如“嘪 𪡃”替换成“嘪 嘪”。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant