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

add chinese mode #22

Closed
wants to merge 1 commit into from
Closed

add chinese mode #22

wants to merge 1 commit into from

Conversation

chanchancl
Copy link

添加了对中文和混合模式的支持,没有考虑编码最优
→_→

添加了对中文和混合模式的支持,没有考虑编码最优
→_→
@chanchancl
Copy link
Author

1_qrcode

@xyzibu
Copy link

xyzibu commented Jun 9, 2017

Hi,我对日文和中文编码进行了实现,不过没有考虑混合模式。你的pr里没有考虑日文编码,可以考虑实现一下。
对于中文编码,我发现对“安”这个字生成的二维码,微信扫出来会乱码,uc扫的正常。这个问题你的实现里也有。

@chanchancl
Copy link
Author

chanchancl commented Jun 14, 2017

@xyzibu

  • 你好,你所说的关于汉字'安'的问题,检查后确实如你所说,不能被QQ二维码扫描正常识别,别的我也没试,简单调试了一下,并没有发现什么地方有问题。。。
  • 其次,关于日文编码,我这儿没有什么相关的资料,请问你可以给我个相关的链接吗?
    谢谢

@xyzibu
Copy link

xyzibu commented Jun 17, 2017

@chanchancl
关于日文unicode字符范围可以参考下面这篇文章(http://hansionxu.blog.163.com/blog/static/241698109201071311240583/)
中的第10和11条:
10)日文平假名:3040-309F
http://www.unicode.org/charts/PDF/U3040.pdf
11)日文片假名:30A0-30FF
http://www.unicode.org/charts/PDF/U30A0.pdf

关于日文如何编码可以参考下面这篇文章:
http://tiierr.xyz/%E4%BA%8C%E7%BB%B4%E7%A0%81-%E6%97%A5%E6%96%87%E7%BC%96%E7%A0%81/index.html

@chanchancl chanchancl closed this Jan 8, 2019
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

Successfully merging this pull request may close these issues.

2 participants