← Market

Mojibake Fix

Repair mojibake (UTF-8 text decoded as Windows-1252/Latin-1, 1250, 1251 or Mac Roman, also double-encoded) with evidence for every replacement and without touching correct text. Finds runs of characters that, re-encoded in a legacy single-byte reading (Windows-1252 incl. Latin-1 C1 controls, Windows-1250, Windows-1251, Mac Roman; byte tables from the WHATWG Encoding Standard via ICU), form valid UTF-8.

POST https://text.halowerk.com/v1/mojibake-fix

0.002 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.002 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "text": "Grüße aus Münster – für 5 €"
}
{
  "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"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://text.halowerk.com/v1/mojibake-fix · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100000
    },
    "readings": {
      "type": "array",
      "minItems": 1,
      "maxItems": 4,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "windows-1252",
          "windows-1250",
          "windows-1251",
          "macintosh"
        ]
      }
    },
    "max_rounds": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "default": 3
    }
  }
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://text.halowerk.com/v1/mojibake-fix' \
  -H 'content-type: application/json' -d '{"text":"Grüße aus Münster – für 5 €"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)