Utf32 check

utf32-check · version 1.0.0 · Numbers & math · free, no key needed

Check UTF-32 bytes and return a bounded diagnostic for alignment, BOM, endian, scalar, or noncharacter failure.

Use when you need to: check UTF-32 validity · validate UTF-32LE bytes · validate UTF-32BE bytes.

Decide before calling

Read the versioned contract and the supported scope below. Reuse utf32-check@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use utf32-check@1.0.0 for check UTF-32 validity. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "base64": "QQAAAA==",
  "endian": "le",
  "bom_policy": "allow",
  "noncharacters": "allow"
}

Response:

{
  "result": {
    "valid": true,
    "reason": null,
    "offset": null,
    "endian": "le",
    "bom": false,
    "code_points": 1,
    "standard_version": "Unicode Standard 16.0, Unicode Encoding Schemes"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "utf32-check",
  "version": "1.0.0",
  "input": {
    "base64": "QQAAAA==",
    "endian": "le",
    "bom_policy": "allow",
    "noncharacters": "allow"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/utf32-check/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"base64":"QQAAAA==","endian":"le","bom_policy":"allow","noncharacters":"allow"}'

The machine-readable contract is at /v1/tools/utf32-check/versions/1.0.0.

CLI

node cli.mjs run utf32-check 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.