Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not generate with Unicode character ¿ #133

Open
nikakirkitadze opened this issue Sep 20, 2019 · 0 comments
Open

Can not generate with Unicode character ¿ #133

nikakirkitadze opened this issue Sep 20, 2019 · 0 comments

Comments

@nikakirkitadze
Copy link

I am trying to make app which will generate barcode images with special characters like: ¿ ¶ µ
but it is not generating correctly

let unicodeChar: Character = "\u{00B0}"
let encodeType = getBarcodeTypeFor(typeStr: card.barcodeType)
self.barcodeImageView.image = UIImage().toBarcode(string: ";038388(unicodeChar)", encoder: encodeType, inputCorrectionLevel: .Medium)

After barcode scan barcode scanner returns text: ;038388%C2%B0 and I want to return it ;038388¿

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant