Q - regarding a MCWS call to get extended ASCII characters.
For example a MC field may contain "Frédéric Chopin, Antonín Dvořák"
If I use File--> Library--> Export to XML, I get a file titled
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
and within it
<Field Name="Description">Frédéric Chopin, Antonín Dvořák</Field>
Looks good......
However, If I call MCWS using:
WinHTTP := ComObjCreate("WinHTTP.WinHttpRequest.5.1")
ComObjError(false)
WinHTTP.Open("GET",
http://localhost:52199/MCWS/v1/Files/Search?Action=mpl&ActiveFile=-1&Zone=-1&ZoneType=ID)
WinHTTP.SetCredentials(MC_UserName,MC_Password,0)
WinHTTP.SetRequestHeader("Content-type", "application/x-www-form-urlencoded")
Body = ""
WinHTTP.Send(Body)
Result := WinHTTP.ResponseText
Status := WinHTTP.Status
I get a file with a header saying
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
and within it
<Field Name="Description">Frédéric Chopin, AntonÃn DvoÅ?ák</Field>
Am I malforming my Request Header?
Thanks
Nathan