Hello! I have an application with a lot of win32 controls, like text fields. The application uses the Multi-Byte character set (I'm using Visual Studio 2008). Can I add support for characters like ă â î ş ș ţ ț without switching to Unicode? I would like to be able to display labels with these characters, as well as have the user type these kinds of characters in the text field and see the correct result (at the current time if I try to write one of the characters in one of the text fields I get strange garbage characters).
Oh ... I forgot to mention that I'm using C++.
Thank you.
Application support for special characters
Started by ArthY303, Apr 18 2011 02:23 PM
4 replies to this topic
Sponsor:
#2 Members - Reputation: 1098
Posted 21 April 2011 - 07:11 AM
Just switch to Unicode and be done with it.
Saying that you are using "the Multi-Byte character set" meaningless. There are literally hundreds of them, all different. Some will support the "special" character you care about and some won't. This is exactly the problem Unicode is meant to solve.
Saying that you are using "the Multi-Byte character set" meaningless. There are literally hundreds of them, all different. Some will support the "special" character you care about and some won't. This is exactly the problem Unicode is meant to solve.
-Mike
#3 Staff - Reputation: 8984
Posted 21 April 2011 - 07:21 AM
Is there any particular reason you don't want to switch to Unicode?
- Jason Astle-Adams.
From my blog: 20 ways to advertise your game | What next? Intermediate to advanced C++
How to make games WITHOUT programming | 4 reasons you aren't a successful indie developer
#5 Members - Reputation: 121
Posted 26 April 2011 - 07:28 AM
Are your characters in ASCII table?
If so then check appropriate font you use whether font contain these characters.
What type of C++ program is it? Simple Win/console app of some game?
If so then check appropriate font you use whether font contain these characters.
What type of C++ program is it? Simple Win/console app of some game?
I create cool-looking Graphical Installers in NSIS:
http://unsigned-softworks.sk/installer
http://unsigned-softworks.sk/en/images/gallery/solutions/solution_1.jpg
http://unsigned-softworks.sk/en/images/gallery/technical/technical_1.jpg
http://unsigned-softworks.sk/installer
http://unsigned-softworks.sk/en/images/gallery/solutions/solution_1.jpg
http://unsigned-softworks.sk/en/images/gallery/technical/technical_1.jpg






