Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Force UTF-8 character coding #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

buergi
Copy link

@buergi buergi commented Apr 15, 2018

In the current implementation the output encoding depends on the operating systems encoding, for example in Windows it is cp1252 for me. This causes that the generated QR codes cannot be read properly with a lot scanners.
e.g. generating a QR-Code for '…ÄÖÜ' on my Windows PC (uses cp1252) yields '����' with QR Droid (Zapper engine) and '�ヨワ' QR Droid/Barcode Scanner (ZXing engine).

As UTF-8 seems to be the quasi standard among all scanners I tried I'd simply recommend to force using this encoding. With this encoding all scanners I tried did not had any problems with the encoding.

@heuer
Copy link
Owner

heuer commented Apr 15, 2018

Thanks for your report and fix. I'll take a look.

@heuer heuer self-assigned this Apr 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants