Encode special characters

how to properly encode special characters in QR code

HEX value: c8 e8 ae be a9 b9

QR has to be ECI= 4

valid QR code
valid QR.png (34.1 KB)

@erikg,

ISO-8859-2 is ECI code 4 so you may please use the following code snippet to achieve the task.

CODE:

using (Aspose.BarCode.BarCodeBuilder buider = new Aspose.BarCode.BarCodeBuilder()) 
        { 
            buider.EncodeType = Aspose.BarCode.Generation.EncodeTypes.QR; 
            buider.ECIEncoding = Aspose.BarCode.ECIEncodings.ISO_8859_2; 
            buider.QREncodeMode = Aspose.BarCode.QREncodeMode.ECIEncoding; 
            buider.CodeText = "\u00c4\u00e8\u00ae\u00be\u00a9\u00b9"; 
            buider.Save("1.png"); 
        }

thx

regards,
sas