Unicode Programming In Microsoft Visual C/C++
If you program Unicode applications using Microsoft Visual C/C++ compiler, then you most probably use the TCHAR strings. While using TCHAR strings is very easy, one of the most common problem for me, after a years of ANSI string experience, is to find a correct C/C++ string function to do the same job as I used to do for the ANSI string.
For example, for ANSI string, we use strlen, but for the TCHAR strings, it’s _tcsclen. Though these TCHAR strings functions use a specific naming convention, and one can easily figure out the corresponding function equivalent of ANSI function, but it does require a hit and try. When doing a search today on Google, I found a wonderful reference which I not only bookmarked, but I would like to share with others too. So, here it’s:
http://www.inwa.net/~frog/tcharConversionChart.html
While we are discussing Unicode, here is another wonderful web resource regarding Internationalization and Localization:
http://www.i18nguy.com/
Tags: Microsoft, TCHAR, Unicode
This entry was posted
on Monday, September 27th, 2010 at 10:03 am and is filed under Uncategorized, Visual C++, Win32 API.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Feedback & Comments
No Responses