kazuhikoarase / qrcode-generator

QR Code Generator implementation in JavaScript, Java and more.
https://kazuhikoarase.github.io/qrcode-generator/js/demo/
MIT License
2.12k stars 680 forks source link

UTF-8 character encoding #3

Closed JosefJezek closed 9 years ago

JosefJezek commented 10 years ago

Could you add UTF-8 character encoding?

See http://zxing.appspot.com/generator/

https://github.com/kevmoo/qr.dart/commit/8139e791f4a0e16e51bfd93bf1e4dc511195b9e0

elhigu commented 9 years ago

Something like this could work: http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array

elhigu commented 9 years ago

This is not considered a bug, so probably can be closed. Just include other javascript to override qrcode.stringToBytes like described in https://github.com/kazuhikoarase/qrcode-generator/pull/7

kazuhikoarase commented 9 years ago

Thank you, elhigu. :)