Description: wchar_t和char互相转换的例子,例子中应用了MultiByteToWideChar和WideCharToMultiByte两个函数-wchar_t and char conversion examples of each other, for example, the application of the two functions MultiByteToWideChar and WideCharToMultiByte Platform: |
Size: 2469888 |
Author:赵军 |
Hits:
Description: WideCharToMultiByte 的使用例子
字符串处理 很有用的东西-WideCharToMultiByte string to deal with the use of examples of useful things Platform: |
Size: 40960 |
Author:何的故 |
Hits:
Description: 是本人的一个正式项目中所做的测试工程源码。主要功能是通过串口与板子的GSM模块进行通讯,进行收发短信的程序。内容有:串口设置,GB2312与UNICODE编码转换,PDU编解码(此部分大部分借鉴了网友的代码),AT指令发送。因内部使用了MultiByteToWideChar、WideCharToMultiByte字符转换函数,所以不能直接向嵌入式程序中移植。想要做这方面移植的请参考与本人上传的另一个资源“ HZTableComHelp.rar”-Is my project done by a formal evaluation of the source. Main functions of the board through the serial port and the GSM communication modules for the process to send and receive text messages. Are as follows: serial port settings, GB2312 with UNICODE encoding conversion, PDU codecs (most of this part of the code from the User), AT commands to send. Due to the internal use of the MultiByteToWideChar, WideCharToMultiByte character conversion function, it is not embedded directly to the transplant procedure. Want to do in this regard please refer to the transplant and the other resources I uploaded " HZTableComHelp.rar" Platform: |
Size: 98304 |
Author:叶木公 |
Hits:
Description: 汉字有时需要在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. Platform: |
Size: 1024 |
Author:luo |
Hits:
Description: 通过调用封装API函数WideCharToMultiByte和MultiByteToWideChar,实现ANSI/UTF-8/Unicode编码格式的相互转换。-By calling the API function package WideCharToMultiByte and MultiByteToWideChar, to achieve ANSI/UTF-8/Unicode encoding format conversion. Platform: |
Size: 6144 |
Author:蓝蜻蜓 |
Hits: