Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encoding special characters
Message
De
13/12/2016 09:25:18
 
 
À
13/12/2016 03:58:36
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01644948
Message ID:
01644980
Vues:
31
>If you can type them you can use them. There are only six special characters and they have predefined entities :
>" & quot;
>& & amp;
>' & apos;
>< & lt;
>> & gt;

I still haven't decided yet on the best route for this as I have so many French characters and I also need to support more than that.

If I changed from UTF-8 to ISO-8859-1, this may create unexpected situations. I have seen some pretty weird concerns about that:

http://stackoverflow.com/questions/1259409/utf-8-or-iso-8859-1-in-xml

If I encode at a general level special branches of the Xml, by the use of System.Web.HttpUtility.HtmlEncode, this will encode the less than and greater than signs of each tag. So, this will result that I will not be able to see that branch of the Xml in a Xml format but as a big string.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform