^CI — International Character Encoding (UTF-8)

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^CI — International Character Encoding (UTF-8)

Goal

Print UTF-8 text with ^CI.

Description

^CI28 switches field encoding to UTF-8, so accented and non-Latin text prints as-is instead of code-page glyphs. (There is no ^IE in ZPL.)

Example

^XA
^CI28
^FX UTF-8: accented and non-Latin text prints correctly.
^FO20,20^A0N,30,30^FDGrüße aus Berlin^FS
^XZ

Rendered ^CI label

Result

The UTF-8 ü prints correctly under ^CI28.

Article author: Arthur Isaev