Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle special characters in XML
Message
 
À
06/11/2001 01:52:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00577281
Message ID:
00578896
Vues:
25
>All chars 0x80 and above will put you into problems if you don't take proper precautions. Besides those special chars I mentioned before, if you want to go safe you should declare the encoding of your xml document. Its first line should be:
>
><?xml version="1.0" encoding="iso-8859-1"?>
>
>All parsers should understand this and act accordingly. Alternatively, you should check all of your text elements char by char and encode them as utf-8 (the default encoding for most parsers).

That worked. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform