Click here to Skip to main content
15,034,031 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am using (borland)C++ Builder XE2.

The standalone test web application I have created to get som Unicode strings back from the web server will not return proper unicode characters.
It's the simplest possible with no added code apart from what has been created by the IDE, pluse a Page Producer that contains the offending string.

The string I am sending back is:"рассказывать"
This happens to be some russian characters, but I want to be able to return any unicode characters.

All I get back is "???????????" !?

Anybody know what this could be about.

Any help much appreciated,
Thomas
Posted
Comments
pasztorpisti 3-Sep-12 13:56pm
   
A lot of people can't handle encodings and unicode well. We can't tell you what's screwed up in your code or the libraries you use because we can't see anything about your project.
Mohibur Rashid 3-Sep-12 20:55pm
   
It seems you are using char type (1 byte long) to receive wchar_t type data(2 byte long, fixed length). I am just guessing.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900