alexzhirkevich / custom-qr-generator

Android library for creating QR codes with logo, custom shapes, colors, background image. Powered by ZXing
MIT License
173 stars 18 forks source link

Incorrect coding Cyrillic letters #6

Closed krauzee closed 1 year ago

krauzee commented 1 year ago

When I generate a VCard QR code with a name in Cyrillic letters, when I scan the code, the name "Роман" became "?????", but if I set the name as "Roman", the code works correctly

alexzhirkevich commented 1 year ago

Hi, @krauzee . Thanks for reporting.

Fixed in 1.5.1. Now you can choose charset in QrCodeDrawable and QrCodeGenerator.generateQrCode methods. UTF-8 works fine with Cyrillic letters, but can slightly increase QR code size.

krauzee commented 1 year ago

thank you very much!