Generate QRcode with Hebrew Chars

General discussions about Inkscape.
kgkg
Posts: 12
Joined: Mon Nov 15, 2010 8:51 pm

Generate QRcode with Hebrew Chars

Postby kgkg » Sun Dec 16, 2018 10:31 pm

Hi,
I wanted to prepare a QRcode via the extension "QR code" in inkscape.
I got an error from which I learn that the algorithm does not support Hebrew although it does support UTF 8 character encoding.
How can I alert that Hebrew is not supported well.
To whom should I address this issue to?

Thank you.

This is the error I get each time an Hebrew char is introduced to the algorithm:

Code: Select all

Traceback (most recent call last):
  File "render_barcode_qrcode.py", line 1074, in <module>
    e.affect()
  File "inkex.py", line 283, in affect
    self.effect()
  File "render_barcode_qrcode.py", line 1058, in effect
    so.TEXT = unicode(so.TEXT, so.input_encode)
  File "C:\Users\ProgramFiles\inkscape-0.92.3-x64\inkscape\lib\python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf2 in position 0: invalid continuation byte

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Generate QRcode with Hebrew Chars

Postby Moini » Mon Dec 17, 2018 5:00 am

Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

kgkg
Posts: 12
Joined: Mon Nov 15, 2010 8:51 pm

Generate QRcode with Hebrew Chars

Postby kgkg » Fri Dec 21, 2018 7:35 pm

Thank you.
I did that. From what I could understand is that the problem is in the way the python script gets the Hebrew characters.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Generate QRcode with Hebrew Chars

Postby Moini » Wed Dec 26, 2018 5:58 am

Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “General Discussions”