Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Special characters with MSXML (£ symbol not being transferre

26 views
Skip to first unread message

Pauli

unread,
May 12, 2010, 4:18:04 AM5/12/10
to
Hi,

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

--------------------------------------------------------------------------------

0 new messages