• Page:
  • 1

TOPIC: Any mobile version QR code generator support unicode?

Any mobile version QR code generator support unicode? 5 days 3 hours ago #14836

I try Žarko Gajić DelphiZXingQRCode for XE5 FMX version in my Tokyo 10.2.3 version by entering some Chinese characters, but the QR Code generated is wrong. The generated QR code cannot being scanned correctly, the scanning result doe not match with the original text. Any suggestion for a QR Code generator that support Unicode?

Please Log in or Create an account to join the conversation.

Any mobile version QR code generator support unicode? 4 days 23 hours ago #14848

try Winsoft Optical Barcode Recognition (OBR) more info at www.winsoft.sk/obr.htm

Why are some QR Codes containing diacritic incorrectly decoded? -- by WinSoft FAQ
This problem is caused by incorrectly created QR Codes that use QR Code Kanji (Shift JIS X 0208) encoding. Use this code for decoding:

//delphi:
function DecodeQRCode(Data: TBytes): string;
var
Utf8: string;
ShiftJIS: TBytes;
begin
Utf8 := TEncoding.UTF8.GetString(Data);
ShiftJIS := TEncoding.GetEncoding(932 {Shift JIS }).GetBytes(Utf8);
Result := TEncoding.ANSI.GetString(ShiftJIS);
end;

Please Log in or Create an account to join the conversation.

Any mobile version QR code generator support unicode? 4 days 19 hours ago #14857

If it is caused by incorrect creation of QRCode, can it being corrected? I cannot control what barcode scanner the mobile user will be used.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: April Anne