当前位置:网站首页>iconv_ Open returns error code 22
iconv_ Open returns error code 22
2022-06-25 14:59:00 【qq_ twenty-three million nine hundred and fifty-three thousand 】
Transcoding related dynamic libraries are stored in /usr/lib64/gconv Under the table of contents
If this directory is empty , The call fails , Can copy from other machines gconv The dynamic library under the directory is transferred to the current device
#include <iconv.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
int main()
{
int i = (int)iconv_open(“UTF-8”, “GBK”);
if(i < 0)
{
printf(“num:%d—%s\n”,errno,strerror(errno));
}
else
{
printf(“success\n”);
}
return 0;
}
边栏推荐
- p1408
- 关于win10 版本kicad 卡死的问题, 版本6.x
- Dynamic memory allocation
- System Verilog - function and task
- The best time to buy and sell stocks
- Ubuntu 20.04 installing mysql8.0 and modifying the MySQL password
- 14 -- validate palindrome string II
- How to make GIF animation online? Try this GIF online production tool
- Review of arrays and pointers triggered by a topic
- Real variable instance
猜你喜欢

Use Matplotlib to draw a line chart

One question per day,

QQ love talk candy love talk content acquisition and storage

Ubuntu 20.04 installing mysql8.0 and modifying the MySQL password

如何裁剪动图大小?试试这个在线照片裁剪工具

Std:: vector minutes

Jaspersoft studio adding MySQL database configuration

【Try to Hack】vulnhub DC1

【Try to Hack】vulhub靶场搭建

In 2022, the score line of Guangdong college entrance examination was released, and several families were happy and several worried
随机推荐
Review of arrays and pointers triggered by a topic
Use Matplotlib to draw a line chart
14 -- 验证回文字符串 Ⅱ
Iterator failure condition
Automatic correlation between QT signal and slot
[untitled] PTA check password
Uniapp cloud packaging app
QQ情话糖果情话内容获取并保存
Async await to achieve sleep waiting effect
14 -- validate palindrome string II
Biscuit distribution
Biscuit distribution
Differences between member variables and local variables
网上办理股票开户安全吗?
使用sphinx根据py源文件自动生成API文档
Time stamp calculation and audio-visual synchronization of TS stream combined video by ffmpeg protocol concat
A deformation problem of Hanoi Tower
Character encoding minutes
One question per day, a classic simulation question
Js- get the mouse coordinates and follow them