← Practical guides

Fix Korean CSV encoding without losing the original characters

A Korean CSV can look broken because a program interpreted its bytes with the wrong character encoding. That is different from a file whose characters were already replaced and saved. Work from the original file first: choosing a different decoder can correct a reading mistake, but it cannot infer text that no longer exists in the file. These three fictional product lists let you practice both conversion directions without using personal records.

Example files

CP949 source / 65 bytes

Comma-separated / CRLF / no BOM. Use this original to reproduce the wrong UTF-8 reading and then convert it.

Download / 65 B

UTF-8 reference / 86 bytes

The same header and two data rows encoded as UTF-8 without a BOM.

Download / 86 B

UTF-8 BOM reference / 89 bytes

The same UTF-8 content with the three-byte EF BB BF marker at the beginning.

Download / 89 B

Follow the steps

  1. Preserve the bytes before diagnosing the display

    Download korean-cp949.csv and select that file in the CSV tool. Do not open a broken display, copy its characters and paste them back as the source. Keep the downloaded original separately. Set comma as the delimiter and treat the first record as the header.

    Open tool →
  2. Reproduce an incorrect reading, then select CP949

    Analyze the original with File encoding set to UTF-8. This example fails the UTF-8 validity check; it does not silently become a table of replacement characters. Select CP949 and analyze again. Confirm 2 data records and 3 columns, then check both Korean names and both destinations. A valid decoding alone is insufficient evidence for an unknown file: also compare known text or ask how the source was exported.

  3. Create only an encoding change

    Choose UTF-8 for the downloaded copy and enable its BOM. Keep the output delimiter unchanged and leave trimming, empty-record removal and formula prefixing off. Inspect the copy preview and download it. With these settings, this example produces the 89-byte UTF-8 BOM reference; disabling the BOM produces the 86-byte UTF-8 reference.

  4. Reopen the result using its new encoding

    Select the downloaded copy as a new input and choose UTF-8, not CP949. Analyze and compare its two records with the goal above. Check the reported output encoding and BOM separately from the visible characters. The names and codes must match even though the file length changed.

  5. Practice the reverse path only when CP949 is needed

    Select korean-utf8.csv as UTF-8, choose CP949 for the downloaded copy, and keep the cell-change options off. The BOM option becomes unavailable. Download and reopen the copy as CP949: this sample returns the 65-byte CP949 reference. If your own text contains an emoji or another unavailable character, the export stops; select UTF-8 to keep that character.

Measured results

The three example files have identical cell values and CRLF record separators. Their 65/86/89-byte lengths reflect encoding and the optional BOM, not added or removed products. In the sample round trip, 2 records and 3 columns remain intact.

상품코드,상품명,배송지
00042,한글 노트,서울
00043,색연필,부산
FileFile encodingBOMBytesData records
korean-cp949.csvCP949No BOM652
korean-utf8.csvUTF-8No BOM862
korean-utf8-bom.csvUTF-8BOM included892

Understand the result

Follow a decision path instead of repeatedly saving

First obtain the original bytes. Next establish the source encoding from the exporting program or known correct text, then select that encoding for reading. Choose the output encoding from the receiving program’s requirements. Finally reopen the copy with that output encoding and verify representative cells. If neither input encoding gives plausible text, stop and check the source rather than saving another damaged copy.

A reading mistake and saved damage need different remedies

If the bytes are still the original CP949 bytes, reading them as CP949 is enough to show the correct characters. If another program has replaced them with literal question marks or U+FFFD (�) and saved that replacement, the missing characters cannot be recovered from those replacements alone. Some garbled text can retain information, but this tool does not attempt to reverse arbitrary chains of incorrect decoding and saving. Return to the earliest intact export.

Pasted text no longer carries its original file encoding

The browser receives pasted characters after some other program has already decoded them. Changing File encoding does not reinterpret that pasted text as the original CP949 bytes. Paste is useful when the characters are already correct; file selection is the appropriate starting point for an encoding diagnosis.

UTF-8 BOM is a marker, not a repair operation

UTF-8 can represent the Korean text with or without a BOM. The BOM adds three bytes at the start and helps software that uses the marker identify UTF-8. It does not convert CP949 bytes by itself, restore missing characters, or declare spreadsheet column types. This tool exports CP949 without a BOM.

Value preservation is different from byte identity

The converted file intentionally has different bytes. The tool writes CRLF record separators and may serialize CSV quoting differently from another source. Verify cell values and record structure when converting; preserve the original download when you need the original bytes. Leading-zero identifiers remain strings here, but the receiving spreadsheet can still infer numbers on import.

When the result is different

Both encoding choices complete, but only one looks plausible. Which is right?
Some byte sequences are accepted by more than one encoding. Use a known product name, destination or the source application’s export setting to decide. The tool deliberately asks you to choose; an error-free preview is not an automatic encoding identification.
The file has question marks even with the correct encoding.
Check an untouched original. If the stored content itself contains substituted question marks or replacement characters, conversion has no reliable mapping back to the lost text. Request a fresh export rather than replacing the symbols with guesses.
Why does CP949 output fail even though the UTF-8 preview is correct?
The preview can contain Unicode characters that CP949 cannot represent. Export stops rather than substituting question marks or offering a partial file. Switch the output to UTF-8; if a receiving system requires CP949, resolve its character requirements with that system before changing the data.
The Korean text is right, but another program removes 00042’s zeros.
That is a column interpretation problem. Import the identifier column explicitly as text in the receiving spreadsheet. Adding a BOM changes encoding detection, not number/date inference. This walkthrough verifies browser file conversion, not the default import behavior of every spreadsheet version.
The file opens as one column or reports malformed CSV.
Check the delimiter and quote structure as a separate issue. These examples use commas. Selecting CP949 does not change semicolons into commas or repair an unclosed quoted cell. Preserve the source while checking the exporting program’s CSV options.

Test conditions and sources

The sample checks use the local CSV tool in Chromium: select the actual files, reproduce the invalid UTF-8 read, export both directions, download the results and reanalyze them with the matching encoding. Downloaded sample bytes are compared with the three reference files, and original-file downloads are checked for preservation. This establishes these browser conversions; no native Excel import result or repair of previously overwritten characters is claimed.

Chromium 156.0.8078.4 / Windows / local browser checks and byte-level measurements /

Download measurements and file checksums (JSON)