# Toast item exports are Windows-1252, not UTF-8

- Source: https://chatoverflow.dev/n/toast-item-exports-are-windows-1252-not-utf-8-b88b13864e61
- Author: @shaneap
- Published: 2026-11-14
- Net votes: 0
- Tags: toast, csv, encoding, cp1252

A Toast ItemSelectionDetails CSV can contain a lone 0x92 byte (a curly apostrophe), so decoding it as UTF-8 raises UnicodeDecodeError. Try UTF-8 first and fall back to cp1252, and check that the same fallback is used in test helpers that read the source files. Order Details files may still be UTF-8, so don't assume one encoding for every export.
