Advertisement
Data Processing

Mojibake Rate: When 600 of 600 Names Arrive Broken — and All 600 Can Be Repaired

The member list opened and every familiar name looked wrong. Accents had sprouted extra characters, familiar spellings had split into odd pairs of...

The member list opened and every familiar name looked wrong. Accents had sprouted extra characters, familiar spellings had split into odd pairs of symbols, and a roster that should have felt welcoming read instead like a printing error repeated down the page. Imagine the coordinator preparing name badges, welcome letters, or a directory from that file. Each badge would carry the corruption into the room. Each letter would tell a member, in effect, that the organization could not spell the name it had been given. The damage in such a scenario is not abstract. A name is the most personal field in a record, and garbling it is visible in a way that a garbled internal code never is.

Mojibake Rate: When 600 of 600 Names Arrive Broken — and All 600 Can Be Repaired

Yet the scene also contains a hopeful clue, if someone pauses before retyping anything. The corruption is patterned. The same strange sequences appear wherever an accented character should stand, and ordinary unaccented text reads perfectly well. Patterned damage suggests a systematic cause rather than random decay. Random decay would demand slow, record by record reconstruction, often from outside sources. A systematic cause raises a different possibility: perhaps the file was misread in a consistent way, and perhaps that misreading can be reversed in a consistent way as well. The test described here was built to examine exactly that possibility under the harshest version of the accident, where the corruption touches every affected record in the file.

What Mojibake Rate means

Mojibake Rate is the share of text records in a file that carry encoding corruption, specifically UTF-8 bytes misread as Latin-1. The concept is paired, by definition, with the repair yield of reversing the misread. Either half alone misleads. A corruption share by itself can make a file sound doomed, even when the underlying bytes are intact and the fix is mechanical. A repair claim by itself can make a process sound magical, even when it was only ever tried on the kind of damage it happens to reverse. Together, the two halves describe both the extent of visible damage and the extent to which that damage is a labeling problem rather than a loss.

The numbers

The test was constructed as a worst case, and that construction should be stated plainly. A worst-case test file was built by taking 600 name records containing accented characters (Source: measured run R4, SmartDataAI lab, 2026-11-23). Names in the file included José García, François Müller, Søren Kierkegaard, Zoë Saldana, and Renée Zellweger (Source: measured run R4, SmartDataAI lab, 2026-11-23). Those records were encoded as UTF-8 and then deliberately misread as Latin-1, the classic double-encoding accident (Source: measured run R4, SmartDataAI lab, 2026-11-23). The repair pass then re-encoded the text as Latin-1 and decoded it as UTF-8 (Source: measured run R4, SmartDataAI lab, 2026-11-23).

Against that construction, records in were 600 (Source: measured run R4, SmartDataAI lab, 2026-11-23). Records showing mojibake were 600, which is 100%, by construction of the worst case (Source: measured run R4, SmartDataAI lab, 2026-11-23). That figure must not be read as a claim about how often real imports corrupt every record. It is the designed starting condition of the test, chosen so that the repair pass faced the maximum possible load with no clean records mixed in to flatter the result. The Mojibake Rate here describes the test file, honestly labeled, rather than estimating corruption in any other file a reader might hold.

The repair outcome was repaired 600 (Source: measured run R4, SmartDataAI lab, 2026-11-23). The complementary outcome was unrepairable 0 (Source: measured run R4, SmartDataAI lab, 2026-11-23). In other words, the reversal recovered the full set of names that the deliberate misreading had garbled, leaving no record in this test that needed manual reconstruction. The result is strong precisely because the starting condition was severe. A gentler test, with only some records affected, could not have shown whether the pass held up when every single record depended on it.

Why repair works here deserves a clear explanation. The corruption is a lossless mislabeling, and no bytes were destroyed (Source: measured run R4, SmartDataAI lab, 2026-11-23). The file carried the right information under the wrong interpretation, rather like a parcel addressed correctly but read aloud in the wrong language. Changing the interpretation changed the reading without needing to recreate any contents. Contrast that with files where characters were replaced by "?" or stripped entirely. In those files the bytes are gone, and no pass can restore them. A question mark placeholder does not secretly contain the accent it replaced, and a stripped character leaves no trace of which character it was. That contrast is general guidance, not a result from this run, and it marks the boundary of what any reversal method can promise.

Questions, answered

How can damage on every record still be fully repairable?

Because the severity of the visible garbling and the severity of the underlying loss are separate things. When each record was misread in the same reversible way, the screen can look catastrophic while the bytes remain complete, and a single consistent reversal can restore the whole set at once.

How does a team tell mislabeling apart from real character loss?

Look at what the corruption produced. Mislabeling leaves patterned multi character clusters standing where single accented characters belong. Loss leaves placeholders or absences, where the original character has been swapped for a generic mark or removed, and those forms offer nothing for a reversal to reinterpret.

Should a repaired file simply replace the import everywhere it was copied?

Not until the repaired version has been sampled and approved. Copies made from the corrupted import may already live in badges, letters, or downstream systems, and each copy needs to be found and refreshed from the verified repair rather than assumed to heal on its own.

Summary

Run R4 built a worst case file of 600 accented name records, misread every one of them, and recorded a Mojibake Rate of 100% by construction. The reversal pass then repaired 600 records and left 0 unrepairable. The reason is that the accident mislabeled the bytes without destroying them, which made the damage total in appearance and reversible in fact. Files whose characters were replaced or stripped stand outside that promise, because their missing bytes cannot be reinterpreted back into existence.

Sources

Know someone who needs this? Share it.

Advertisement