Disclosure: This is the English edition of an explainer I originally made in Japanese. It was translated with AI assistance, then reviewed and edited. Every example below uses dummy data.

Open a CSV the usual way — double-click — and instead of readable names you may get mojibake: garbled text where the names and addresses should be. A company name like 伊藤工業 comes out as unreadable characters, and the Japanese text on the sheet becomes unreadable.

(The company names and addresses — Ito Kogyo in Toshima Ward, Tokyo; Nakamura Seisakusho in Kita Ward, Osaka; Kobayashi Foods in Naka Ward, Nagoya — are made up.)

If the CSV has only been opened with the wrong encoding and has not been overwritten, its original bytes are still intact. Excel is decoding them using the wrong encoding. Saving the garbled result over the original can overwrite that intact copy.

This post focuses on fixing that mismatch when you import a CSV into Excel.

Why it happens

A CSV file is plain text. If Excel reads it using a different character encoding from the one used to write it, the text can appear garbled.

The file you received may be UTF-8, while Excel opens it assuming a different encoding — so the characters are read with the wrong mapping and come out garbled. Unlike the automatic type conversion in the earlier posts in this series, this is not Excel changing the type of your data. When the original CSV is intact, importing it again with the matching encoding can restore the readable text.

The file could also be the other way around: written in Shift_JIS and opened as UTF-8. Either way, the symptom is the same — text you cannot read — and the cause is the same: an encoding mismatch at import.

The fix: match the encoding at import

Don't open the CSV by double-clicking. Import it instead:

  1. On the Data tab, choose From Text/CSV and select your file.
  2. In the import preview, set File Origin to match the file's encoding. If you know the file is UTF-8, choose 65001: Unicode (UTF-8).
  3. Click Load. The names and addresses come in exactly as written.

If you don't know which encoding the file uses, try both settings. For a CSV expected to use either UTF-8 or Shift_JIS, switch between 932 (Shift_JIS) and 65001 (Unicode UTF-8) in the File Origin dropdown, then choose the setting that displays the expected Japanese text correctly in the preview. If the preview is inconclusive, confirm the encoding with the sender before loading.

That's the whole fix. Check the result before you save — saving over the original while it is still garbled would replace the intact original with the garbled version.

Watch it happen

I made a short video of this case — a UTF-8 file opening as garbled text, and the import fix. The narration and on-screen text are in Japanese:

https://www.youtube.com/shorts/vRyhev2wouI

This post is part of a small series checking what spreadsheets do to files you receive from other people — and how to open them without losing what's inside.