I am tying to send a £ character from VB6 using MSXML to a .NET web service
which is not being trasferred correctly.
The generated XML is:
<?xml version="1.0" encoding="utf-8" ?>
- <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
- <soap:Body>
- <PriceMeters xmlns="http://ux-online.com/">
- <PriceValue>
<ColumnReference>Standing Charge £</ColumnReference>
<Value>22</Value>
</PriceValue>
</PriceMeters>
</soap:Body>
</soap:Envelope>
The receiving VB.NET web services, defines the Price value as:
Public Class PriceValue
Public ColumnReference As String
Public Value As Decimal
End Class
However, the £ character "arrives" as ??. I would apperciate advice on how
to ensure the £ character can be transferred unchanged.
Thanks
--------------------------------------------------------------------------------