Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
iconv_open test application
#include <iconv.h>
#include <stdio.h>
int main(int argc, char** argv)
iconv_t r = iconv_open("UTF-8", "WCHAR_T");
if ((iconv_t)-1 != r)
printf("iconv_open() worked!\n");
return 0;
printf("iconv_open() failed\n");
return -1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.