journeyapps / zxing-android-embedded

Barcode scanner library for Android, based on the ZXing decoder

Home Page:https://journeyapps.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Croatin letters čćšđž

dmilasin76 opened this issue · comments

I have a problem when scanning standard 2d barcodes in PDF_417 format. It reads them without problems, but I have barcodes of the same structure and composition, in which the Croatian letters čšđž are read, and when scanning some barcodes, some barcodes are read correctly and some are not, that is, where the letters čšđž are, it places signs.
When I try let's say this:
decodedData = new String(scannedData.getBytes("ISO-8859-1"), "UTF-8");
then read some barcodes that he did not read correctly. But then some that he was reading correctly before the change he doesn't read correctly :)