YAZ-ICONV(1) | Commands | YAZ-ICONV(1) |
yaz-iconv - YAZ Character set conversion utility
yaz-iconv [-f from] [-t to] [-v] [file...]
yaz-iconv converts data in the character set specified by from to output in the character set as specified by to.
This yaz-iconv utility is similar to the iconv found on many POSIX systems (Glibc, Solaris, etc).
If no file is specified, yaz-iconv reads from standard input.
-ffrom]
-tto]
-v
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 characters 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.
marc8 (encode, decode)
marc8s (encode, decode)
marc8lossy (encode)
marc8lossless (encode)
utf8 (encode, decode)
iso8859-1 (encode, decode)
iso5426 (decode)
iso5428:1984 (encode, decode)
advancegreek (encode, decode)
danmarc (decode)
The following command converts from ISO-8859-1 (Latin-1) to UTF-8.
yaz-iconv -f ISO-8859-1 -t UTF-8 <input.lst >output.lst
prefix/bin/yaz-iconv
prefix/include/yaz/yaz-iconv.h
Index Data
01/19/2023 | YAZ 5.34.0 |