Table of contents

How to handle non-English characters?

This happens when the barcode text is in a non-Latin-based language, as by default most webpages are only able to display Latin-based languages.

In order to display the barcode text, it is best to do it via the getBytes of the CBarcodeResultItem. Once the bytes are obtained, you can ‘translate’ them to a string based on the encoding identifier of the language that you are trying to display.

This page is compatible for: