Check character encoding in AI exports

Preserve accents and punctuation when a generated file moves between an assistant and another application.

Identify what the next application expects

A smooth-looking chat preview does not guarantee that a file will open properly in the receiving application. A character encoding describes how text is represented in bytes, and W3C’s beginner guide explains why the sender and receiver must agree. Ask for the encoding your importer supports, and use its actual settings when opening the result. Preserve exact names and identifiers instead of asking for an automatic cleanup. 1

Include characters likely to expose a mismatch

Make a fixture that includes an accented name, a curly apostrophe, a non-Latin title, and a value with a comma. The comma tests CSV quoting separately from character encoding. The title helps show whether text survived the round trip. If the file is JSON exchanged across systems, consult the JSON specification’s requirements on encoding. Keep the fixture small enough that you can check every field by eye after import. 2 3

Fix the right layer

If the chat version is correct and the spreadsheet shows strange characters, try importing with the documented encoding setting. If the source already contains corrupted text, ask for a fresh export or identify the affected records. Confirm that the assistant did not change legitimate spellings while fixing the export. A good handover note records the tested format, encoding, and receiving application.

Sources

  1. W3C guide to character encodings
  2. IETF's common CSV format
  3. IETF JSON specification