(imported topic written by JesperLarsen)
Hi
Im trying to use the REST api to create users. The usernames can be any valid UTF8-name, so when posting to the REST service (api/operators) i send this XML:
<?xml version="1.0" encoding="UTF-8"?> HôtelBravo delme20x false true true Unrestricted ShowAllThe operator gets created, but the return from the post says:
<?xml version="1.0" encoding="UTF-8"?> HôtelBravo Thu, 01 Jan 1970 00:00:01 +0000 false true true Unrestricted ShowAllNow, looking at the raw bytes, when i send the ô, it is encoded as C3B4 as i would expect it to be with UTF-8, but then returned from the server (even though it says UTF-8 in the header) it returns the bytes C383 C2B4.
And when looking in the Management console, i can see that the newly created operator is named HôtX_delme20x and not HôtelBravo.
I can make the ô happen by converting the UTF-8 version of ô into ANSI… Can someone confirm that the Name-parameter (others?) is read as ANSI and not UTF-8?
Kind regards Jesper