Output Schema
{
"example": {
"limitations": [
"Bytes that were already replaced by U+FFFD or stripped cannot be recovered; such places are listed under remaining_suspects.",
"Single ambiguous two-character sequences are left unchanged on purpose and listed under skipped.",
"Only the four listed legacy readings are tested; mojibake from other code pages (e.g. CP437, Shift_JIS) is not repaired."
],
"result": {
"changed": true,
"readings_tested": [
"windows-1252",
"windows-1250",
"windows-1251",
"macintosh"
],
"remaining_suspects": [],
"replacements": [
{
"code_points": "U+00FC U+00DF",
"evidence": [
"multi_sequence_run"
],
"index": 2,
"original": "üß",
"reading": "windows-1252",
"replacement": "üß",
"round": 1,
"score": 3,
"utf8_bytes": "C3 BC | C3 9F"
},
{
"code_points": "U+00FC",
"evidence": [
"latin1_letter_target",
"letter_follows",
"same_reading_and_script_confirmed_elsewhere"
],
"index": 13,
"original": "ü",
"reading": "windows-1252",
"replacement": "ü",
"round": 1,
"score": 6,
"utf8_bytes": "C3 BC"
},
{
"code_points": "U+2013",
"evidence": [
"three_or_four_byte_sequence"
],
"index": 21,
"original": "–",
"reading": "windows-1252",
"replacement": "–",
"round": 1,
"score": 3,
"utf8_bytes": "E2 80 93"
},
{
"code_points": "U+00FC",
"evidence": [
"latin1_letter_target",
"letter_follows",
"same_reading_and_script_confirmed_elsewhere"
],
"index": 26,
"original": "ü",
"reading": "windows-1252",
"replacement": "ü",
"round": 1,
"score": 6,
"utf8_bytes": "C3 BC"
},
{
"code_points": "U+20AC",
"evidence": [
"three_or_four_byte_sequence"
],
"index": 32,
"original": "€",
"reading": "windows-1252",
"replacement": "€",
"round": 1,
"score": 3,
"utf8_bytes": "E2 82 AC"
}
],
"rounds": 1,
"skipped": [],
"text": "Grüße aus Münster – für 5 €"
},
"service": "mojibake-fix",
"status": "success"
},
"type": "json"
}