Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encoding for iOS
Message
 
À
08/12/2021 05:07:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682920
Message ID:
01682924
Vues:
32
>>>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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform