>>>>Hi All
>>>>
>>>>I have a problem with returning content from an IIS website using VFP scripts to generate Text/HTML to an iPhone app we have made. The script on the server is just returning some content in plain text format (which I understand will be ANSI as Windows default?). This text I can receive in any Windows client without issue. Can also receive it in Android devices by specifying the returned result as ANSI. But in an iPhone running iOS the return packet always seems empty but I assume it's not empty but rather unrecognizable or un-processable. I understand iOS uses only UNICODE for strings(?) so the question is; should I be converting the data packet to some other format before returning it to the iPhone?
>>>
>>>I'd try utf-8, it seems to be the default on *nix based systems - and practically everything except windowses is that nowadays.
>>
>>STRCONV( m.MyData , 9 ) does not seem to work either. And also ...
>>
>>? STRCONV( m.MyData , 9 ) == m.MyData
>>
>>... returns .T. which seem to imply that nothing was changed in the STRCONV() function ... ??
>
> Hi,
> You don't see changes for base ASCII characters.
>
>?STRCONV("asd"+CHR(154),9,1250,1)
>
>
>MartinaJ
Oh, OK, I'm only using base ASCII characters. So is there any point to STRCONV() my data before returning to the iOS system? Or using another conversion?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.