@psychobunny Sure. I'll gather some data and make an issue now. Thanks for looking into this!
[nodebb-plugin-write-api]How do I POST form data with UTF-8 encoding by using curl?
co-owner last edited by
I would like to POST (send) some form data to a webserver using cURL on a terminal-prompt.
This is what I got so far:
curl -X POST -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" -H "Authorization: Bearer 7ae9463c-146d-440d-b729-890c73bb9d46" --data "title=I Love You" --data "content=我真的不爱你" --data "cid=1" http://localhost:4567/api/v2/topics
The problem is that the chinese word ("我真的不爱你") are replaced by "����Ĳ�����" when I browse the website page.