{"uid":"cap_n3YyUP9JPHzmYecGzkJIs","slug":"character-encoding-inspector-8ed3eef4","name":"Character Encoding Inspector","description":"Break a string into its Unicode code points, each with its U+ notation, decimal value and UTF-8 / UTF-16 byte layout, plus total byte lengths.","url":"https://encoding.openverbs.com/v1/inspect","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1,"description":"String to inspect."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_brksqjmHndAMU52RDHMgI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a string and returns its character encoding details","exampleAgentPrompt":"Can you inspect this string for me and tell me what character encoding it's using: 'Héllo wörld — is this UTF-8, Latin-1, or something else?'","exampleUseCases":[{"title":"Debug garbled text encoding","prompt":"I'm getting weird characters in my output like â€˜ and â€™ — can you inspect this string and tell me what encoding it's actually in so I can figure out what went wrong?"},{"title":"Validate encoding before database insert","prompt":"Before I store this user-submitted text in my database, can you inspect it and tell me what character encoding it is? Here's the string: 'Ñoño está aquí'."},{"title":"Internationalization text audit","prompt":"I have this Japanese text snippet '日本語テスト' and I need to know exactly what character encoding it uses before I process it through my pipeline — can you inspect it?"}],"resultDescription":"Returns character encoding details for the submitted string, including the detected encoding type and related metadata about the characters present in the input text.","failureModes":["Empty or missing 'text' field returns a validation error (minLength:1 not met)","Malformed JSON body returns a parse error","Network timeout on the paid endpoint if the service is unavailable","Incorrect bodyType enum value causes request rejection","Non-POST HTTP method is rejected"],"whenToPreferThis":"Use this endpoint when you need to programmatically detect or verify the character encoding of a string at runtime, especially during ETL pipelines, internationalization workflows, or when debugging garbled text issues. Prefer this over manual inspection or local libraries when operating in an agentic or serverless context where you need a quick, reliable API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:39.057Z","isFirstParty":false}