有没有支持 unicode 的二维码生成器库?
我需要离线生成二维码, 但我需要一个支持 unicode 的库(例如阿拉伯语言)... 用哪种语言编写并不重要,但我更喜欢 python 和 php。
谁能建议一下吗? 谢谢
Possible Duplicate:
Unicode Encoding and decoding issues in QRCode
I need to generate qr code offline ,
but I need a library which supports unicode ( arabic language for example ) ...
It doesn't matter which language is it written in , but I prefer python and php.
can anyone suggest any?
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ZXing 有一个基于 Java 的编码器,可让您指定要用于编码的字符编码QR 码中以字节形式显示的文本。但请注意,除了 ISO-8859-1 之外的任何编码都不一定有效,因为这是规范中允许的唯一编码。
ZXing has a Java-based encoder which will let you specify the character encoding you want to use to encode the text as bytes in the QR code. Be aware though that anything except ISO-8859-1 is not necessarily going to work, as this is the only encoding allowed in the spec.
您是否尝试过 http://phpqrcode.sourceforge.net ?
Have you tried http://phpqrcode.sourceforge.net ?