Wrong decoding of accented characters

Bug #1943261 reported by rduke15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zbar (Ubuntu)
Undecided
Unassigned

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)

Revision history for this message
rduke15 (rduke15) wrote :
Revision history for this message
rduke15 (rduke15) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers