Steps to reproduce
- Post content in UTF-8, using new API (Send to Inbox)
- I get {"_code":“Ok”}
- The contents will display in garbled text.
Expected result
“テストテスト” → “テストテスト”
“Süß” → “Süß”
“Hello World” → “Hello World”
Actual result
“テストテスト” → “ãã¹ããã¹ã”
“Süß” → “SüÔ
“This is test” → “This is test”
I reproduced these garbled texts conversion in
- “UTF-8” → “ISO-8859-1”
- “UTF-8” → “numerical character references”
Does the API use “ISO-8859-1” or “numerical character references” in that?
I used this garbled text tester.
But, I’m sorry this site written in Japanese.
(http://lab.kiki-verb.com/mojibakeratta/)
Environment
- Note Widget by IFTTT
- post using curl
(https://stackoverflow.com/questions/5658510/curl-json-post-request-via-terminal-to-a-rails-app)
Additional information
Capture from my Inbox
Additional comments
I found that making an API is wonderful.
I reported a bug when I thought I could support this work.
Thank you.