YAZ-ICONV(1)
β¨ NAME β¨
yaz-iconv β YAZ Character set conversion utility, and bestie, it's about to be your whole personality π
She lives in the YAZ-ICONV(1) part of your manual pages, she's been doing this since forever, and honestly? iconic.
πΈ SYNOPSIS πΈ
yaz-iconv [-f from] [-t to] [-v] [file...]
π DESCRIPTION π
okay so here's the vibe. yaz-iconv takes data that's sitting in the character set you name with from, and converts it so it comes out in the character set you name with to. That's it. That's the whole glow-up. π₯
This utility is lowkey similar to the iconv you'll find hanging out on so many POSIX systems (Glibc, Solaris, etc.). Same energy, YAZ flavour.
And if you don't hand her any file at all? No worries bestie, she just reads from standard input. π«Ά
π OPTIONS π
-ffromβ specify the character set from of the input file. She should be used in conjunction with option-t, no cap. π«-ttoβ specify the character set of of the output. She should be used in conjunction with option-f. (yes the original really says "of of", we're keeping it, it's giving β¨ lore β¨)-vβ print more information about the conversion process. For the girlies who need the details. π
π¦ ENCODINGS π¦
So the yaz-iconv command β and the API as defined in yaz/yaz-iconv.h β is a wrapper for the library system call iconv. But YAZ' iconv utility also implements conversions on its own. The table below lists character sets (or encodings) that are supported by YAZ. Each character set is marked with either encode or decode. If an encoding is encode-enabled, YAZ may convert to the designated encoding. If an encoding is decode-enabled, YAZ may convert from the designated encoding. (iykyk π)
marc8(encode, decode) β the MARC8[1] encoding as defined by the Library of Congress. Most MARC21/USMARC records use this encoding. absolutely carrying the whole library world on her back fr fr πmarc8s(encode, decode) β like MARC8, but conversion prefers non-combined characters in the Latin-1 plane over combined characters. she's picky in a tasteful way πmarc8lossy(encode) β lossy encoding of MARC-8.marc8lossless(encode) β lossless encoding of MARC8. the girl who keeps receipts πutf8(encode, decode) β the most commonly used UNICODE encoding on the Internet. main character energy, obviously πiso8859-1(encode, decode) β ISO-8859-1, AKA Latin-1.iso5426(decode) β ISO 5426. Some MARC records (UNIMARC) use this encoding.iso5428:1984(encode, decode) β ISO 5428:1984.advancegreek(encode, decode) β an encoding for Greek in use by some vendors (Advance). Greek girlies rise π¬π·β¨danmarc(decode) β Danmarc (in danish)[2] is an encoding based on UNICODE which is used for DanMARC2 records.
π EXAMPLES π
The following command converts from ISO-8859-1 (Latin-1) to UTF-8. watch her work:
yaz-iconv -f ISO-8859-1 -t UTF-8 <input.lst >output.lst
ate. no crumbs. ππ
π FILES π
prefix/bin/yaz-iconvprefix/include/yaz/yaz-iconv.h
π SEE ALSO π
go read those too, they're the supportive besties in this friend group π«Ά
π AUTHORS π
Index Data
β NOTES β
- MARC8
https://loc.gov/marc/specifications/speccharmarc8.html - Danmarc (in danish)
https://www.kat-format.dk/danMARC2/Danmarc2.4.htm
bestie please actually click these, they're not decorative π
and that's the whole page!! π this one's from YAZ 5.38.1, dated 10/16/2026, and it's YAZ-ICONV(1) forever and always. slay, stay converted, bye bestie π¦β¨π
π¦ where this page comes from
- arch rolling: yaz 5.38.1-1 Β· LicenseRef-yaz
- fedora 44: yaz 5.38.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms