UTF-16 decode

This forum is for general support of Xbase++
Post Reply
Message
Author
Piotr D
Posts: 129
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

UTF-16 decode

#1 Post by Piotr D »

Hi,
I have tested Boris Borzic xb2net library for communications with SOAP. I use xbSOAPEnvelope(),
it's work fine for me, but I find another problem: received messages (reply) are UTF-16 encoded.
I don't find any function, which can convert these to an OEM or ANSI or UTF-8 message (problem
is only with national characters (polish), which are represented like below:
ą is ą
ć is ć

I made my own function to convert polish national characters, but my question is if can find function
which made these for all characters? Or if is possible to set how can be encoding a reply from
the server?

Piotr

Post Reply