Arabic text from the API looks garbled. How do I fix it?
The API returns UTF-8 JSON. Garbled Arabic (like ال) means something on your side decoded it with the wrong encoding.
- Read responses as UTF-8 (
res.json()/ the SDKs do this). - Write files with
encoding="utf-8"in Python. - Set
charset=utf-8on responses you send to browsers. - Use a right-to-left aware display for Arabic (
dir="rtl"in HTML).
Good to know#
- New accounts get $5 of free credit; top up from $1 to $800 per purchase in Console › Billing › Credits. Billing
- Each key has its own limit: 10, 30 (default), 60 or 120 requests per minute. Rate limits
- Your key's account is responsible for your end users' text under the Abuse policy. What it means for apps
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.