登录
首页 » 嵌入式系统 » utf8与gb2312的互转

utf8与gb2312的互转

于 2022-03-16 发布 文件大小:58.38 kB
0 238
下载积分: 2 下载次数: 1

代码说明:

相信不少开发人员时常遇到字符编码的问题,而这个问题也让人非常头疼,本文介绍一种利用码表来实现gb2312与utf8的互转,纯c语言,没有调用icov库的实现!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 精确定时+中断+进制转换+移位+LED显示+按关键加速+EEPROM 存储测试...
    精确定时+中断+进制转换+移位+LED显示+按关键加速+EEPROM 存储测试-Precise Timing+ Interrupted+ Hexadecimal conversion+ Shift+ LED display+ By key accelerate+ EEPROM memory test
    2022-07-15 21:48:38下载
    积分:1
  • C语言学习300例 ,详细的代码和解说,是学习C语言的非常好的资料!...
    C语言学习300例 ,详细的代码和解说,是学习C语言的非常好的资料!-C language learning 300 cases, the code and detailed captions, C language learning is very good information!
    2022-11-17 07:50:04下载
    积分:1
  • AVR SDMMC闪存文件FAT16 / 32 ..支持。ICCAVR的源代码…有限公司...
    AVR SDMMC flash file system..fat16/32 support..ICCAVR source code included... cool:)
    2022-01-31 17:44:55下载
    积分:1
  • Xilinx IIC IP
    由 Xilinx 提供的 IIC 接口,使用 AXI interface。 Features ‧ AXI interface is based on the AXI4-Lite interface ‧ Master or slave operation ‧ Multi-master operation ‧ Software selectable acknowledge bit ‧ Arbitration lost interrupt with automatic mode switching from master to slave ‧ Calling address identification interrupt with automatic mode switching from master to slave ‧ START and STOP signal generation and detection ‧ Repeated START signal generation ‧ Acknowledge bit generation and detection ‧ Bus busy detec ‧ Fast mode 400 KHz operation or standard mode 100 KHz ‧ 7-bit or 10-bit addressing ‧ General call enable or disable ‧ Transmit and receive FIFOs - 16 bytes deep ‧ Throttling ‧ General purpose output, 1 bit to 8 bits wide ‧ Dynamic Start and Stop generation ‧ Filtering on the SCL and SDA signals to eliminate spurious pulses
    2023-09-07 01:15:03下载
    积分:1
  • 溶解氧测量
    应用背景溶解氧的含量与水温、氧分压、盐度、水深深度、水生生物的活动和耗氧有机物浓度有关。       水中溶解氧含量受到两种作用的影响:一种是使DO下降的耗氧作用,包括好氧有机物降解的耗氧,生物呼吸耗氧;另一种是使DO增加的复氧作用,主要有空气中氧的溶解,水生植物的光合作用等。这两种作用的相互消长,使水中溶解氧含量呈现出时空变化。       在自然条件下,水在流动时,复氧过程比较迅速,较易补充水中氧的消耗,使水体中溶解氧保持一定的水平,反之,在静水条件下,复氧过程缓慢,水中含氧得不到及时补充,处于嫌气状态。关键技术水被有机物污染后,由于好氧菌作用使其氧化,消耗掉溶解氧。如果得不到空气中氧的及时补充,那么水的溶解氧就减少,最终导致水体变质,溶解氧越少,表明污染程度越严重。溶解氧在评价标准中作为水体感官指标及保护水生生物生存指标。
    2022-01-25 14:38:37下载
    积分:1
  • 2输5键盘,模拟量数码管显示
    2 i o 5 键 盘 模 拟 音 量 数 码 管 显 示 -2 io 5 keyboard, analog volume digital tube display
    2022-02-04 14:06:15下载
    积分:1
  • sc2410测试程序,可以测试lcd,I2C,UART,timer
    sc2410测试程序,可以测试lcd,I2C,UART,timer-sc2410 test procedures, test lcd, I2C, UART, timer
    2022-07-04 16:30:29下载
    积分:1
  • The RTM660
    The RTM660-850 is a single chip frequency generator for INTEL 850 chipset Clock Synthesizer Driver Specification. The clock chip provides standard serial bus for programming device function. Base on the function above, the spread spectrum can be enable for reducing EMI.
    2022-03-15 05:02:50下载
    积分:1
  • ti tusb3210
    用于USB 适配器的源代码,值得一看he following is a series of code files comprising the bootcode for TUSB3210.  It is already resident in on-chip ROM and therefore was not intended for our customers to compile 揳s is?and execute on the  evaluation board.  Rather, it is provided  to serve as an example of how to program the device,  and excerpts of the code can be used in real  applications (for example, the I2C subroutines).  
    2023-09-04 02:35:03下载
    积分:1
  • str710的AD转换C程序,包括中断及查询两种方,使AD编程变得简单。...
    str710的AD转换C程序,包括中断及查询两种方式,使AD编程变得简单。-C of the AD conversion str710 procedures, including the interruption and the query in two ways to make programming simple AD.
    2022-03-10 12:35:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载