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-iconv
  • prefix/include/yaz/yaz-iconv.h

πŸ‘‘ SEE ALSO πŸ‘‘

yaz(7) iconv(1)

go read those too, they're the supportive besties in this friend group 🫢


πŸ’œ AUTHORS πŸ’œ

Index Data


⭐ NOTES ⭐

  1. MARC8 https://loc.gov/marc/specifications/speccharmarc8.html
  2. 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