php - How to correctly encode special characters in multipart/form-data POST request -


i working on fetching waste disposal data our local waste disposal service, took quite while understand api (there no official api or documentation , no 1 responds email).

the api working now, having issues special characters ä, ö , ü.

i using php , curl make requests, requests without such characters work flawlessly.

i copied curl request chrome , executed in terminal, worked, saw, ä has been encoded \xe4, in php ä gets encoded \u00e4 , php doesn't work.

if change ä directly \xe4 won't work either.

is there specification encoding such characters in multipart/form-data post request missing?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -