当前位置:网站首页>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;
}
边栏推荐
- Generation method and usage of coredump
- [HBZ sharing] use of locksupport
- Js- get the mouse coordinates and follow them
- What moment makes you think there is a bug in the world?
- Flexible layout (display:flex;) Attribute details
- Breakpad usage and DMP analysis
- System Verilog - data type
- Gif动图如何裁剪?收下这个图片在线裁剪工具
- Daily question, Caesar code,
- Custom structure type
猜你喜欢

Js- get the mouse coordinates and follow them

Common dynamic memory errors

Learning notes on February 8, 2022 (C language)

Uniapp cloud packaging app

关于win10 版本kicad 卡死的问题, 版本6.x

多张动图怎样合成一张gif?仅需三步快速生成gif动画图片

Dynamic memory allocation

【中国海洋大学】考研初试复试资料分享

QT loading third-party library basic operation
![[Ocean University of China] information sharing for the first and second examinations of postgraduate entrance examination](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[Ocean University of China] information sharing for the first and second examinations of postgraduate entrance examination
随机推荐
System Verilog - data type
15 -- k points closest to the origin
Customization and encapsulation of go language zap library logger
Biscuit distribution
HMS core machine learning service realizes simultaneous interpretation, supports Chinese-English translation and multiple voice broadcast
Why should the coroutine be set to non blocking IO
Usage of qlist
Use Matplotlib to draw a line chart
SPARQL learning notes of query, an rrdf query language
Differences between member variables and local variables
Learning notes on February 18, 2022 (C language)
【中國海洋大學】考研初試複試資料分享
p1408
2.18 codeforces supplement
Common operations in VIM
Brain tree (I)
@Font face fonts only work on their own domain - @font-face fonts only work on their own domain
Yolov3 spp Darknet version to caffemodel and then to OM model
basic_ String mind map
多张动图怎样合成一张gif?仅需三步快速生成gif动画图片