Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Iconv
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Implementations == Most [[Linux distribution]]s provide an implementation, either from the [[GNU]] Standard C Library (included since version 2.1, February 1999), or the more traditional GNU <code>libiconv</code>, for systems based on other Standard C Libraries. The <code>iconv</code> function<ref>{{cite web|title=glibc: iconv/iconv.c|url=https://sourceware.org/git/?p=glibc.git;a=blob;f=iconv/iconv.c|access-date=30 November 2016}}{{Dead link|date=January 2020 |bot=InternetArchiveBot |fix-attempted=yes }}</ref> on both is licensed as [[LGPL]], so it is linkable with closed source applications. Unlike the libraries, the <code>iconv</code> utility is licensed under [[GPL]] in both implementations.<ref>{{cite web|title=glibc: iconv/iconv_prog.c|url=https://sourceware.org/git/?p=glibc.git;a=blob;f=iconv/iconv_prog.c|access-date=30 November 2016}}{{Dead link|date=January 2020 |bot=InternetArchiveBot |fix-attempted=yes }}</ref> The GNU libiconv implementation is portable, and can be used on various UNIX-like and non-UNIX systems. Version 0.3 dates from December 1999. The [[uconv]] utility from [[International Components for Unicode]] provides an iconv-compatible command-line syntax for transcoding. Most BSD systems use NetBSD's implementation, which first appeared in December 2004. The [[musl]] C library implements the <code>iconv</code> function with support for all encodings specified by the [[WHATWG]] Encoding Standard. === Support === Currently, over a hundred different character encodings are supported in the GNU variant.<ref name="gnulibiconv"/> === Ports === Under [[Microsoft Windows]], the iconv library and the utility is provided by GNU's libiconv found in [[Cygwin]]<ref name="cygwin-libiconv-search">{{cite web|title=Cygwin Package Search: libiconv |url=https://cygwin.com/cgi-bin2/package-grep.cgi?grep=libiconv |access-date=30 November 2016 |archive-url=https://archive.today/20161130001530/https://cygwin.com/cgi-bin2/package-grep.cgi?grep=libiconv |archive-date=30 November 2016 |url-status=dead |df=dmy-all }}</ref><!-- Search result pages are perishable. --> and [[GnuWin32]]<ref name="gnuwin32-libiconv">{{cite web|url=http://gnuwin32.sourceforge.net/packages/libiconv.htm|title=LibIconv for Windows|website=gnuwin32.sourceforge.net|access-date=21 April 2018}}</ref> environments; there is also a "purely Win32" implementation called "win-iconv" that uses Windows' built-in routines for conversion.<ref name="win-iconv">{{cite web|title=win32-iconv|url=https://github.com/win-iconv/win-iconv|website=GitHub|access-date=30 November 2016}}</ref> The iconv function is also available for many programming languages. The {{Mono|iconv}} command has also been ported to the [[IBM i]] operating system.<ref>{{cite web |title=IBM System i Version 7.2 Programming Qshell |language=en |author=IBM |website=[[IBM]] |author-link=IBM |url=https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzpdf.pdf?view=kc |access-date=2020-09-05 }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)