Open nikakirkitadze opened 5 years ago
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¿
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¿