Search code examples
zplzpl-ii

How to put VULGAR FRACTION ONE HALF in Zebra code


This is my code for the ZPL label:

^XA^FS^FT215,210^A0N,28,28^FH^FD300 mg (1 ½ tablet)^XZ

but it shows like this:

I want it to be shown as ½, any suggestions?


Solution

  • You need to switch to UTF-8 encoding using ^CI28:

    ^XA^CI28^FT215,210^A0N,28,28^FD300 mg (1 ½ tablet)^FS^XZ