Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encoding special characters
Message
From
14/12/2016 10:41:04
 
 
General information
Forum:
ASP.NET
Category:
XML
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01644948
Message ID:
01645119
Views:
19
>I wonder if something like this might work:
Dim s1 As String = theDataset.GetXml()
>
>Dim bytes As Byte() = Encoding.[Default].GetBytes(s1)
>Dim UTF8String As String = Encoding.UTF8.GetString(bytes)
>Dim dec As String = New XmlDocument().CreateXmlDeclaration("1.0", "UTF-8", Nothing).OuterXml
>Dim XMLoutput As String = dec & UTF8String
No, this changes the output. Basically, at the client site, when showing the data in a messagebox, for example, I can no longer see the French characters but a symbol instead.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform