Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encoding for iOS
Message
From
08/12/2021 05:07:39
 
 
To
08/12/2021 04:49:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682920
Message ID:
01682923
Views:
35
>>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 ... ??
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform