Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Unicode

Unicode

Unicode

Great Reads

by Pascal Ganaye
A custom C# string implementation that stores its data in a UTF8 byte array.
by JamesHurst
Walks through the creation of an on-screen virtual keyboard for entering non-ASCII chars
by jean Davy
std::string source = "Hello World";std::wstring result( source.begin(), source.end() );One coding line less !
by blytle
also since _bstr_t's have operator (char *) and operator (wchar_t *) if you have included comutil.h, you can use it to do your conversion.char * source = "this is my source" ;_bstr_t converter_temp(source) ;wstring target ;target = wstring(converter_temp) ;... and the other way...

Latest Articles

by Pascal Ganaye
A custom C# string implementation that stores its data in a UTF8 byte array.
by JamesHurst
Walks through the creation of an on-screen virtual keyboard for entering non-ASCII chars
by jean Davy
std::string source = "Hello World";std::wstring result( source.begin(), source.end() );One coding line less !
by blytle
also since _bstr_t's have operator (char *) and operator (wchar_t *) if you have included comutil.h, you can use it to do your conversion.char * source = "this is my source" ;_bstr_t converter_temp(source) ;wstring target ;target = wstring(converter_temp) ;... and the other way...

All Articles

Sort by Score

Unicode 

by Pascal Ganaye
A custom C# string implementation that stores its data in a UTF8 byte array.
by jean Davy
std::string source = "Hello World";std::wstring result( source.begin(), source.end() );One coding line less !
by blytle
also since _bstr_t's have operator (char *) and operator (wchar_t *) if you have included comutil.h, you can use it to do your conversion.char * source = "this is my source" ;_bstr_t converter_temp(source) ;wstring target ;target = wstring(converter_temp) ;... and the other way...
by Philippe Mori
inline std::wstring AsciiToUnicode(std::string text){ // Could do some DEBUG check here to ensure it is really ASCII. // Also, if in the future, it is found, it is not the case, // it would much easier to update code. // Same as jean Davy here... return...
by Doc Lobster
String conversion using the C++ Standard Library only
by Stian Andre Olsen
EncodeText is a small program that can decode and encode text files using any of the codecs supported by Qt
by Amit Singh Baghel
A useful tip to export a Div to PDF (with Unicode support) with the help of NReco-PDF Generator for .NET (C#), JQuery and Handler in ASP.NET
by Richard MacCutchan
Recent questions on reading ANSI vs Unicode text prompted the following
by honey the codewitch
Add UTF-32 support and easy foreach streaming to your apps
by Alain Rist
With a helper CharMap class using VC2010 C++0x implementation
by Gregory Morse
Rendering Qur'anic (complex Arabic) scripts with Unicode in a PDF
by WernfriedD
How to set NLS_LANG value for Oracle to support all special characters you need in your language/application.
by DebugST
Use [Unicode 14.0.0] version. Can support automatic code generation according to the latest version.
by Member 15078716
Unicode / Creating, Writing, Appending / a text (*.txt) file - how to do it
by Gregory Morse
How to use uniscribe from VB.NET