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
Touch seeded packages, which is subscribed to zbar in Ubuntu.
https://bugs.launchpad.net/bugs/1943261

Title:
  Wrong decoding of accented characters

Status in zbar package in Ubuntu:
  New

Bug description:
  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)

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to