文件名称:ChineseConv
介绍说明--下载内容均来自于网络,请自行研究使用
中文分为简体、繁体两种内码,另外还有统一码,如果要在不同码之间转换,需要有一个对应表格,程序编写起来非常繁琐,而且更要有内码对照表格。笔者,在阅读MSDN中发现只要妙用MultiByteToWideChar和LCMapString两函数,就可以简简单单地实现不同内码的转换。为了让程序员使用更方便,笔者编写了一个CChineseConvertor类,包装了所有中文内码的转换功能。读者可以直接在MFC中加入此类,用起来也非常轻松。详细细节请察看ChineseConvertor.h和ChineseConvertor.cpp源代码。
-Divided into Simplified Chinese, Traditional two types of code, in addition to Unicode, if you want to switch between different codes, the need for a corresponding form programming is very tedious, but also have a form of control code. The author, in reading in MSDN and found that as long as MultiByteToWideChar妙用LCMapString two functions can be simple to realize different code conversion. In order to allow programmers to use more convenient, I prepared a CChineseConvertor category, packing all the Chinese code conversion function. Readers can be added directly in the MFC such, is also very easy to use. For further details, please ChineseConvertor.h and ChineseConvertor.cpp View the source code.
-Divided into Simplified Chinese, Traditional two types of code, in addition to Unicode, if you want to switch between different codes, the need for a corresponding form programming is very tedious, but also have a form of control code. The author, in reading in MSDN and found that as long as MultiByteToWideChar妙用LCMapString two functions can be simple to realize different code conversion. In order to allow programmers to use more convenient, I prepared a CChineseConvertor category, packing all the Chinese code conversion function. Readers can be added directly in the MFC such, is also very easy to use. For further details, please ChineseConvertor.h and ChineseConvertor.cpp View the source code.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ChineseConvert
..............\ChineseConvertor.cpp
..............\ChineseConvertor.h
..............\readme.txt
..............\ChineseConvertor.cpp
..............\ChineseConvertor.h
..............\readme.txt