Issue 811 in zxing: accented character

97 views
Skip to first unread message

zx...@googlecode.com

unread,
Apr 20, 2011, 11:39:10 AM4/20/11
to zx...@googlegroups.com
Status: New
Owner: ----

New issue 811 by babg...@gmail.com: accented character
http://code.google.com/p/zxing/issues/detail?id=811

Hello,

The QRCode Generator (http://zxing.appspot.com/generator/) does not handle
accents (eg: é, è, ç)

If I generate a code with accented characters, my (french) iPhone
translated as follows :
é : é
è : è


Thanks

zx...@googlecode.com

unread,
Apr 20, 2011, 2:26:44 PM4/20/11
to zx...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 811 by sro...@gmail.com: accented character
http://code.google.com/p/zxing/issues/detail?id=811

This is a tough one. Really it should be encoded as ISO-8859-1, since these
characters can be encoded as such. Then any reader ought to be able to read
it. Instead it is always being encoded as UTF-8. UTF-8 isn't really allowed
in QR codes, but, is the only option if you want to encode text that can't
be written in ISO-8859-1.

But, GWT is escaping text that goes into URLs using UTF-8, always. And this
is true of the URL to the Google Chart Server that it forms to generate the
QR code.

Ideally the iPhone reader would be able to guess the UTF-8 encoding here
and parse it anyway. Barcode Scanner does this fine.

It is sort of a bug, but I don't think it is something that will be
addressed.

zx...@googlecode.com

unread,
Apr 20, 2011, 2:34:55 PM4/20/11
to zx...@googlegroups.com

Comment #2 on issue 811 by smpar...@smparkes.net: accented character
http://code.google.com/p/zxing/issues/detail?id=811

FWIW, the zxing iOS libraries/test apps assume the value is UTF-8 and so
(in this case) they do the right thing. I tested a few other iOS readers
and most interpreted the data as UTF-8, a couple displayed katakana
(japanese), and one displayed the text as mentioned here.

Simone Pascucci

unread,
Jun 4, 2011, 1:41:44 PM6/4/11
to zxing
Hi, I understand that other ports of the library deal correctly with
accents. There is some tips you could provide about changing the
source code of the actionscript port in order to make it behave like
the IOS version? I'm developing a small air application, and
everything is going fine for QR CODE except for the text output,
replacing accented characters of the result.
I tried to go into the source, but I really can't find out where to
modify code in order to set UTF-8 decoding, thank for any help

Bye

On Apr 20, 1:34 pm, zx...@googlecode.com wrote:
> Comment #2 on issue 811 by smpar...@smparkes.net: accented characterhttp://code.google.com/p/zxing/issues/detail?id=811
Reply all
Reply to author
Forward
0 new messages