Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iconv.h(3head) [opensolaris man page]

iconv.h(3HEAD)							      Headers							    iconv.h(3HEAD)

NAME
iconv.h, iconv - codeset conversion facility SYNOPSIS
#include <iconv.h> DESCRIPTION
The <iconv.h> header defines the following type: iconv_t Identifies the conversion from one codeset to another. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
iconv(3C), iconv_close(3C), iconv_open(3C), attributes(5), standards(5) SunOS 5.11 10 Sep 2004 iconv.h(3HEAD)

Check Out this Related Man Page

ICONV(1)						    BSD General Commands Manual 						  ICONV(1)

NAME
iconv -- codeset conversion utility SYNOPSIS
iconv [-cs] -f from_name -t to_name [file ...] iconv -f from_name [-cs] [-t to_name] [file ...] iconv -t to_name [-cs] [-f from_name] [file ...] iconv -l DESCRIPTION
The iconv utility converts the codeset of file (or from standard input if no file is specified) from codeset from_name to codeset to_name and outputs the converted text on standard output. The following options are available: -c Prevent output of any invalid characters. By default, iconv outputs an ``invalid character'' specified by the to_name codeset when it encounters a character which is valid in the from_name codeset but does not have a corresponding character in the to_name codeset. -f Specifies the source codeset name as from_name. -l Lists available codeset names. Note that not all combinations of from_name and to_name are valid. -s Silent. By default, iconv outputs the number of ``invalid characters'' to standard error if they exist. This option prevents this be- haviour. -t Specifies the destination codeset name as to_name. EXIT STATUS
The iconv utility exits 0 on success, and >0 if an error occurs. SEE ALSO
iconv(3) STANDARDS
iconv conform to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
iconv first appeared in NetBSD 2.0. BSD
March 20, 2008 BSD
Man Page

2 More Discussions You Might Find Interesting

1. Programming

about iconv

I want to use iconv.h to convert some text to another charset. The code is below: #include <stdio.h> #include <stdlib.h> #include <iconv.h> int main() { iconv_t cd; char instr="汉字"; char *inbuf; char *outbuf; unsigned int insize=7; ... (4 Replies)
Discussion started by: yong
4 Replies

2. Solaris

Apache config issue

I want to build a little website on a Sun Blade 100 running Solaris 10. I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Discussion started by: BrewDudeBob
17 Replies