grails-qrcode icon indicating copy to clipboard operation
grails-qrcode copied to clipboard

Diacritics problem

Open hrabalo opened this issue 12 years ago • 3 comments

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.

hrabalo avatar Mar 15 '12 16:03 hrabalo

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

hartsock avatar Mar 15 '12 17:03 hartsock

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.

hrabalo avatar Mar 15 '12 17:03 hrabalo

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.

goeh avatar Jun 10 '14 21:06 goeh