grails-qrcode
grails-qrcode copied to clipboard
Diacritics problem
I solved diacritics problem (I am using characters like ěščřžý). Generated qr code in your version replaces these characters by question mark '?'. But I had to use also the latest stable version of zxing library (v 2.0) because diacritics problem remains in version 1.5 which is used in your plugin.
I opened a separate ticket for upgrading the library, it should be pulled from the maven repo, not inside the plugin. Other problems might be related to this: http://stackoverflow.com/questions/2489048/qr-code-encoding-and-decoding-using-zxing
Sorry I didn't notice the separated ticket.. Yop, I read this on stackoverflow. Maybe it would be great if everybody could set the characters encoding which they need as a param.
I tested http://localhost:8080/qrcode/qrcode/text/ěščřžý after I upgraded zxing to 3.1.0 and it seems to work ok. The characters are rendered ok when I scan the code with my phone. I will look into the details of this pull request after I have published version 0.4 of the plugin.