字符集与编码

http://www.cnblogs.com/KevinYang/archive/2010/06/18/1760597.html

http://blog.csdn.net/gogor/article/details/5323599

http://www.iteye.com/topic/398782

 1 /* convert hex string to str*/
 2 
 3 #include <stdio.h>
 4 
 5 int main()
 6 {
 7     unsigned char str[4] ;
 8     str[0] = 0x41;
 9     str[1] = 0x42;
10     str[2] = 0x43;
11     str[3] = '';
12 
13     printf("str= %s
", str);
14 
15 return 0;
16 }
原文地址:https://www.cnblogs.com/shengxinking/p/3835707.html