Iconv

iconv
Original author(s)Hewlett-Packard
Developer(s)Various open-source and commercial developers
Repositoryhttps://git.savannah.gnu.org/git/libiconv.git
Operating systemUnix, Unix-like, Microsoft Windows, IBM i
PlatformCross-platform
TypeCommand
Licenselibiconv: LGPL
iconv: GPL
win-iconv: Public domain[1]

In Unix and Unix-like operating systems, iconv (an abbreviation of internationalization conversion)[2] is a command-line program[3] and a standardized application programming interface (API)[4] used to convert between different character encodings. "It can convert from any of these encodings to any other, through Unicode conversion."[5]

History

Initially appearing on the HP-UX operating system,[6]iconv() as well as the utility was standardized within XPG4 and is part of the Single UNIX Specification (SUS).

Implementations

Most Linux distributions provide an implementation, either from the GNU Standard C Library (included since version 2.1, February 1999), or the more traditional GNU libiconv, for systems based on other Standard C Libraries.

The iconv function[7] on both is licensed as LGPL, so it is linkable with closed source applications.

Unlike the libraries, the iconv utility is licensed under GPL in both implementations.[8] 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.

Support

Currently, over a hundred different character encodings are supported in the GNU variant.[5]

Ports

Under Microsoft Windows, the iconv library and the utility is provided by GNU's libiconv found in Cygwin[9] and GnuWin32[10] environments; there is also a "purely Win32" implementation called "win-iconv" that uses Windows' built-in routines for conversion.[11] The iconv function is also available for many programming languages.

The iconv command has also been ported to the IBM i operating system.[12]

Usage

stdin can be converted from ISO-8859-1 to current locale and output to stdout using:[13]

iconv -f iso-8859-1

An input file infile can be converted from ISO-8859-1 to UTF-8 and output to output file outfile using:

iconv -f iso-8859-1 -t utf-8 <infile> -o <outfile>

See also

References

  1. ^ "win-iconv/readme.txt at master · win-iconv/win-iconv · GitHub". GitHub.
  2. ^ "R: Convert Character Vector between Encodings". astrostatistics.psu.edu. Retrieved 21 April 2018.
  3. ^ "iconv". pubs.opengroup.org. Retrieved 21 April 2018.
  4. ^ "iconv". www.opengroup.org. Retrieved 21 April 2018.
  5. ^ a b "libiconv - GNU Project - Free Software Foundation (FSF)". www.gnu.org. Retrieved 21 April 2018.
  6. ^ "iconv(3C)". docstore.mik.ua. Retrieved 21 April 2018.
  7. ^ "glibc: iconv/iconv.c". Retrieved 30 November 2016.[permanent dead link]
  8. ^ "glibc: iconv/iconv_prog.c". Retrieved 30 November 2016.[permanent dead link]
  9. ^ "Cygwin Package Search: libiconv". Archived from the original on 30 November 2016. Retrieved 30 November 2016.
  10. ^ "LibIconv for Windows". gnuwin32.sourceforge.net. Retrieved 21 April 2018.
  11. ^ "win32-iconv". GitHub. Retrieved 30 November 2016.
  12. ^ IBM. "IBM System i Version 7.2 Programming Qshell" (PDF). IBM. Retrieved 5 September 2020.
  13. ^ "IBM Knowledge Center". www-01.ibm.com. Retrieved 21 April 2018.

Read other articles:

В Википедии есть статьи о других людях с такой фамилией, см. Клюев; Клюев, Денис. Денис Клюев Общая информация Полное имя Денис Викторович Клюев Родился 7 сентября 1973(1973-09-07)[1] (50 лет)Москва, СССР Гражданство  СССР Россия Рост 182 см Позиция полузащитник Информация о ...

 

Біжан ШароповБіжан Рашидович ШароповНародився 7 жовтня 1989(1989-10-07)Душанбе, Таджицька РСРПомер 13 квітня 2022(2022-04-13) (32 роки)с. Борове, Харківська область, УкраїнаМісце проживання м. КиївКраїна  УкраїнаДіяльність військовослужбовецьAlma mater НаУКМАГалузь нейробіологіяЗаклад Н

 

Football stadium in Beijing This article is about the stadium opened in 2023. For the original stadium which it replaced, see Workers' Stadium (former). Workers' StadiumChinese nameSimplified Chinese工人体育场Traditional Chinese工人體育場TranscriptionsStandard MandarinHanyu PinyinGōngrén TǐyùchǎngWade–GilesKūngrén T'ǐyǜch'ǎngYale RomanizationGūngrén TǐyùchǎngIPA[kʊ́ŋɻə̌n tʰìŷʈʂʰàŋ] LocationChaoyang District, Beijing, Ch...

Friheten på barrikaderna KonstnärEugène DelacroixBasfaktaTillkomstår1830TypOlja på dukMått (h×b)260 × 325 cm PlatsLouvren, Paris Friheten på barrikaderna (franska: La Liberté guidant le peuple) är en målning av Eugène Delacroix för att hylla minnet av den franska julirevolutionen 1830. Målningen färdigställdes under hösten samma år. Motivet Målningen föreställer en kvinna som personifierar friheten, med den franska trikoloren i ena handen och ett gev...

 

Société Ch. Mildé fils et Cie Rechtsform Compagnie Gründung 1898 Auflösung ? Sitz Levallois-Perret, Frankreich Branche Automobilindustrie Mildé et Mondos von 1900 Mildé-Kriéger mit 100 km Reichweite, Höchstgeschwindigkeit 40 km/h Die Société Ch. Mildé fils et Cie war ein französischer Hersteller von Automobilen.[1][2][3] Inhaltsverzeichnis 1 Unternehmensgeschichte 2 Fahrzeuge 2.1 Mildé 2.2 Mildé et Mondos 2.3 Mildé-Gaillardet 2.4 Mildé-Kriéger 3 Liter...

 

Japanese multinational retail holding company Fast Retailing Co., Ltd.Native name株式会社ファーストリテイリングTypePublicTraded asTYO: 9983SEHK: 6288TOPIX Large 70 ComponentIndustryRetailFoundedAs Men’s Shop Ogori Shoji March 1949; 74 years ago (1949-03)As Fast Retailing September 1991; 32 years ago (1991-09) 1963 as Ogori Shoji Co., Ltd. (Ube, Yamaguchi, Japan)1991 as Fast Retailing Co., Ltd. (name change)FounderHitoshi Yana...

Peter Ton Peter Ton Algemeen Geboortedatum 1912 Sterfdatum 1940 Functie Zijde nazi-Duitsland Organisatie NSB, WA Speciale functie NSB-blokleider Portaal    Tweede Wereldoorlog Petrus Nicolaas (Peter) Ton (Rotterdam, 16 april 1912 – Den Haag, 7 september 1940) was een Nederlands nationaalsocialistisch politiek activist. Ton werd geboren in een arbeidersgezin. Omdat zijn vader op jonge leeftijd overleed, brak hij zijn studie aan de handelsschool af om als kostwinner voor zijn moeder...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Nowa TV – news · newspapers · books · scholar · JSTOR (February 2017) (Learn how and when to remove this template message) Television channel Nowa TVCountryPolandBroadcast areaPolandHeadquartersWarsaw, PolandProgrammingLanguage(s)PolishPicture format16:9 576i (...

 

رجل من العصور الوسطى شَعره طويل. امرأة شَعرُها طويل. الشعر الطويل هي تصفيفة شعر يسمح فيها للشعر بالنمو إلى طول معين. ويُمكِن أن يتغيّر ما نعتبره شعر طويل من ثقافةٍ إلى أُخرى أو حتّى داخِل الثقافات، فعلى سبيل المثال المرأة التي يكون شعرها بطول الذقن يُمكِن أن يُقالَ في بعض الأ

This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentation). (September 2022) (Learn how and when to remove this template message) Peter MayCBEPersonal informationFull namePeter Barker Howard MayBorn(1929-1...

 

Economic theory Development economics Economies by region Africa North America South America Asia Europe Oceania Economic growth theories Harrod–Domar model Neoclassical growth model Endogenous growth theory Unified growth theory Balanced growth theory Fields and subfields Economic inequality Poverty Undernutrition Land Labour Human capital Education Property Rights Microfinance Decentralization Environmental determinism Lists Journals Publications Categories Outline Economists vte Part of ...

 

Top division association football league in Denmark Football leagueSuperligaFounded1991First season1991CountryDenmarkConfederationUEFANumber of teams12Level on pyramid1Relegation toDanish 1st DivisionDomestic cup(s)Danish CupInternational cup(s)UEFA Champions LeagueUEFA Europa LeagueUEFA Europa Conference LeagueCurrent championsCopenhagen (15th title) (2022–23)Most championshipsCopenhagen (15 titles)Most appearancesRasmus Würtz (452)Top goalscorerMorten Rasmussen (145)TV partnersDomesticVi...

Variety of tobacco This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Turkish tobacco – news · newspapers · books · scholar · JSTOR (May 2022) (Learn how and when to remove this template message) Drying of tobacco on the streets of Prilep, North Macedonia Turkish tobacco is a small-leafed variety of tobacco. It...

 

This article is written like a personal reflection, personal essay, or argumentative essay that states a Wikipedia editor's personal feelings or presents an original argument about a topic. Please help improve it by rewriting it in an encyclopedic style. (October 2016) (Learn how and when to remove this template message) Part of a series onSlavery Contemporary Child labour Child soldiers Conscription Debt Forced marriage Bride buying Child marriage Wife selling Forced prostitution Human traff...

 

2019 live action television series Team KaylieGenreSitcomCreated byTracy BitterolfDeveloped byPamela Eells O'ConnellDirected byBob KoherrStarring Bryana Salaz Alison Fernandez Symera Jackson Elie Samouhi Kai Calhoun Eliza Pryor Music byScott ClausenCountry of originUnited StatesOriginal languageEnglishNo. of seasons1 (3 parts)No. of episodes20ProductionExecutive producerPamela Eells O'ConnellProducerIsla RobertCinematographyJimmy RobersonEditorKiuurk BensonRunning time27–30 minutesProductio...

Enlightenment philosopher (1632–1677) Spinoza redirects here. For other uses, see Spinoza (disambiguation). This article's use of external links may not follow Wikipedia's policies or guidelines. Please improve this article by removing excessive or inappropriate external links, and converting useful links where appropriate into footnote references. (October 2023) (Learn how and when to remove this template message) Baruch SpinozaBornBaruch Espinosa[8] / Bento de Spinosa[...

 

1956 British comedy film The Green ManFilm posterDirected byRobert DayBasil Dearden (uncredited)Written byFrank LaunderSidney GilliatStarringAlastair SimGeorge ColeTerry-ThomasJill AdamsCinematographyGerald GibbsMusic byCedric Thorpe DavieRelease date 1956 (1956) CountryUnited KingdomLanguageEnglish The Green Man is a 1956 black and white British black comedy film based on the play Meet a Body by Frank Launder and Sidney Gilliat, who produced and adapted the big-screen version.[1]...

 

Kwiecień 2022 1 kwietnia Brytyjskie Ministerstwo Obrony potwierdziło, że wojska ukraińskie zajęły wsie Słoboda i Łukaszywka na południe od Czernihowa i ustawiły się wzdłuż głównych szlaków zaopatrzenia między Czernihowem a Kijowem. Ukraina kontynuowała również przeprowadzanie udanych, ale ograniczonych kontrataków przeciwko siłom rosyjskim na wschód i północny wschód od stolicy. Zarówno Czernihów, jak i Kijów były celem ciągłych rosyjskich ataków lotniczych i ...

French fashion magazine Vogue France100th Anniversary cover (October 2021)Head of Editorial ContentEugénie TrochuCategoriesFashionFrequencyMonthlyPublisherCondé NastPaid circulation904,332Total circulation(2022)907,526[1]First issueApril 1920CountryFranceBased inParisLanguageFrenchWebsitevogue.frISSN0750-3628 Vogue France (stylised in all caps) is the French edition of Vogue magazine, formerly called Vogue Paris from its inception until 2021. The magazine started publication in 1920...

 

American businessman This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The topic of this article may not meet Wikipedia's notability guideline for academics. Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the arti...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!