I am developing a service and you can send different parameter to this service via the get parameter.
For example:
www.example.com?query=john&location=...
It is also possible to send umlauts to this service.
Ex.
www.example.com?query=müller
My problem now is, that i have no influence of how parameters are sent to my service, so i've decided to test it a lot and discovered, that if you try to call it via our internally system (which runs with Sharepoint) and if you use Internet Explorer, things start getting weird. First of all, those parameter look something like this, with the second example above:
www.example.com?query=m�ller
I can already detect, if someone's using IE, but i'm still not sure, how I can fix this problem.
I already tried to use urlencode()
(and a lot of other functions, but they don't really change the result), which returns m%3Fller
. My desired output in this case would be m%C3%BCller
Is it somehow possible to solve this with my service or is the problem in Sharepoint? I've already reproduced the szenario with a simple HTML form with all the required parameters as simple text fields and it works fine there.
EDIT:
My desired output is the umlaut in the correct form for a url (ü => %C3%BC
)