Public bug reported:

When decoding a QR code containing latin accented characters, the output
text uses the wrong encoding and outputs some Asian characters.

Attached is an example image (from this page showing a sample of a Swiss
QR bill : https://developer.pdf4me.com/docs/api/swiss-qr/), and a
cropped version with only the QR code itself.

The text output by

  zbarimg swissqr_bill-qrcode.jpg

shows :

  H繹rnlistrasse # on line 7
  Pf瓣ffikon     # on line 10
  T繹distrasse   # on line 23 
  Z羹rich        # on line 26 

instead of :

  Hörnlistrasse
  Pfäffikon
  Tödistrasse
  Zürich

$ lsb_release -rd
Description:    Ubuntu 20.04.3 LTS
Release:        20.04

$ zbarimg --version
0.23

$ dpkg -l | grep zbar
ii  libzbar0:amd64        0.23-1.3  amd64  QR code / bar code scanner and 
decoder (library)
ii  libzbargtk0:amd64     0.23-1.3  amd64  QR code / bar code scanner and 
decoder (GTK+ bindings)
ii  python3-zbar:amd64    0.23-1.3  amd64  QR code / bar code scanner and 
decoder (Python bindings)
ii  zbar-tools            0.23-1.3  amd64  QR code / bar code scanner and 
decoder (utilities)
ii  zbarcam-gtk           0.23-1.3  amd64  QR code / bar code scanner and 
decoder (Gtk camera tool)

** Affects: zbar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: encoding

** Attachment added: "qr-code with accented chars"
   
https://bugs.launchpad.net/bugs/1943261/+attachment/5524423/+files/swissqr_bill-qrcode.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943261

Title:
  Wrong decoding of accented characters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zbar/+bug/1943261/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to