文件名称:unicode2gbk
介绍说明--下载内容均来自于网络,请自行研究使用
汉字有时需要在Unicode编码和GBK编码间转换,且该转换要求是跨平台的,故不能依赖Windows的API,解决方法是生成Unicode与GBK的映射表,转换时直接查表即可。本实验要求利用本实验利用Windows提供的WideCharToMultiByte函数实现编码转换并生成映射表保存至文件。-Unicode characters are sometimes needed between GBK encoding and transcoding, and the conversion request is cross-platform, it can not rely on the Windows API, the solution is to generate Unicode mapping table with GBK, direct look-up table to conversion. This experiment requires the use of the experimental use Windows provides WideCharToMultiByte function to achieve transcoding and generate a mapping table saved to a file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
unicode2gbk.cpp