ZPL Prints Question Marks — UTF-8 Encoding CI28 Fix Guide
Joe B.
Reviewed for technical accuracy
Specialities: Windows 11/10, Printers, Networking, Group Policy, Print Servers
Zebra ZPL “?” characters — UTF-8 / code pages, ^CI28 vs ^CI17, fonts (Zebra/TrueType), driver & CUPS settings
Quick answer: the accepted fix
Accepted fix when ZPL prints question marks for UTF-8 names: set ^CI28 (or device.charset=utf8), send label data as UTF-8 from your app/driver, and use a font with required glyph coverage (downloaded TrueType via ^A@ or Zebra scalable). Avoid mixing code pages (CP1252/ISO) and don’t double-convert text.
Why Zebra shows “?” or � for accents — UTF-8 vs code pages
Printers interpret incoming bytes per the current code page. If your app sends UTF-8 but the device expects CP1252 (^CI17) or another legacy page, accented characters (é, ñ, č, ı, Ł) break. Enforcing ^CI28 and using a Unicode font aligns encoding end-to-end, fixing ZPL UTF-8 issues across Windows, macOS (CUPS/IPP), and network print servers.
How to verify encoding is correct
Send a self-test format:
^XA^CI28^FO20,20^A0N,28,28^FDÁ É Í Ó Ú — ñ ä ö ü ß — € — Łódź — 東京^FS^XZ.
If this prints perfectly, your UTF-8 path is clean. If not, confirm queue is RAW, the font supports glyphs, and the app writes UTF-8 without BOM.
ZPL encoding — quick troubleshooting tips
Most “question marks” come from wrong ^CI mode or missing Unicode fonts.
Quick path: set ^CI28 → ensure app sends UTF-8 → test with sample text → download a TrueType font and reference with ^A@ → keep the queue RAW (no re-encoding) → update Link-OS firmware if needed.
Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.
Getting Started Is Easy
Ask for help, 24/7
Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.
Expert will respond in minutes
We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.
Save time & money
No scheduling hassles or expensive consults. Membership can save you significant time and money each month.
FAQ
Why does my Zebra ZPL print question marks for UTF-8 text?
The printer is interpreting bytes with the wrong code page. Set ^CI28 or device.charset=utf8, send data as UTF-8, and use a font with needed glyphs.
Do I need special fonts for accents or non-Latin scripts?
Yes, use Zebra scalable fonts or download a Unicode TrueType (e.g., Noto Sans) and reference it via ^A@. Built-in bitmap fonts don’t cover all characters.
Windows or macOS driver makes it worse — what to change?
Keep the queue RAW (no conversion). On Windows ZDesigner disable forced graphics unless testing, and ensure the app outputs UTF-8. On macOS use IPP/RAW and avoid filters that re-encode.
Can QR/Code128 barcodes include UTF-8?
Yes. The barcode data can be UTF-8. For the human-readable line, you still need ^CI28 and a font that contains the characters.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| “?” or � instead of accents | Wrong code page (^CI17/CP1252) |
Set ^CI28; send UTF-8 |
| Only certain letters fail (Ł, Ș, č) | Font lacks glyphs | Use ^A@ with Unicode TTF (Noto) |
| macOS/CUPS shows squares | PPD filtering / not RAW | Use IPP RAW; keep ^CI28 |
| Designer prints OK, app prints ??? | App sends ANSI/CP1252 | Change app output to UTF-8 |
Step-by-step (Windows / ZDesigner)
- Add
^CI28at the top of each ZPL or setdevice.charset=utf8(SGD). - Ensure your app writes UTF-8 without BOM; avoid CP1252 conversions.
- Install a Unicode TrueType on the printer and reference via
^A@. - Optional test: enable “Use graphics for all text” — if characters appear, it’s a font/encoding issue; then revert for speed.
Note for macOS (CUPS/IPP)
- Use an IPP/RAW queue so ZPL passes unchanged.
- Keep
^CI28and a Unicode font (^A@with TTF onE:).
Sources
- Zebra — ZPL II Character Sets &
^CI - Zebra Setup Utilities — Fonts & sending files
- Zebra — Using Unicode fonts in ZPL (
^A@, TTF)
Filed under: Printers
Related articles
- Printer prints with USB cable, but won’t print on Wi-Fi — what do I check first?
- Printer prints sometimes on Wi-Fi, then goes “Offline” — what’s going on?
- Printer prints a PDF blank — but the printer isn’t “out of ink”
- Printer prints with wrong margins — everything is shifted and cut off
- My printer prints barcodes, but they won’t scan — what did I do wrong?
- My printer prints “Documents rejected by scanner” — what does that mean?
- My printer prints too light to scan — why are my documents so pale?
- Printer prints blurry text — why is everything suddenly fuzzy?