← Back to directory

Windows UTF-8 Request Body: curl and PowerShell — skill file for AI agents (AISkills402)

https://api.aiskills402.com/v1/skills/windows-utf8-request-body/file

Overview

Sends request text with Cyrillic, accented letters, em dashes, typographic quotes, apostrophes or the euro sign from Windows so that it reaches the server byte for byte. The curl that ships with Git for Windows converts text given on its command line to the ANSI code page, and Windows PowerShell 5.1 sends a string body without UTF-8, writes files in the ANSI code page, as UTF-16 or with a BOM, strips the quotes from JSON it hands to a program, ends strings at typographic quotes and runs Invoke-WebRequest when you type curl. The server still answers 200 and the page later shows � or ?. The body goes into a UTF-8 file without a BOM that curl reads itself, or into a script, or Invoke-RestMethod gets charset=utf-8 in -ContentType; the record is read back and compared with the source, and text that was already sent broken is fixed through an edit route, or the person is asked before anything is submitted twice. Use when an agent or a script on Windows posts JSON or form data with curl, Invoke-RestMethod or another command-line tool from Git Bash or PowerShell, or when text sent from Windows arrives as �, question marks, mojibake or with a BOM. One-time purchase of the SKILL.md file itself (Agent Skills format), not an API call: $0.05 USDC on Base over x402, yours forever incl. free re-downloads and new versions. No account, no API key. Tested with a strong and a weak model; the card tells you where the weak one fails: https://aiskills402.com/skills/windows-utf8-request-body

Protocol x402
Price $0.05
Payment Asset USD Coin
Payment Network eip155:8453
Category ai/agent-skills
Provider aiskills402
Source bazaar
Indexed 2026-10-25 11:32:41

Health

Status healthy
Latency (p50) 253ms
Uptime (30d) 98.5%
Reliability Score 91.2/100
Last Checked 2026-10-31 07:02:11
Last Healthy 2026-10-31 07:02:11
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "type": "http" }

Output Schema

{ "example": { "file": { "content": "<the SKILL.md file>", "encoding": "utf-8", "name": "SKILL.md" }, "name": "Windows UTF-8 Request Body: curl and PowerShell", "ok": true, "receipt": { "settled": true, "tx": "0x<settlement transaction>" }, "redownload": { "token": "<64 hex chars>", "url": "<api>/v1/purchases/<token>" }, "sha256": "<sha256 of SKILL.md>", "skill": "windows-utf8-request-body", "version": "1.0.0" }, "type": "json" }