yaz-iconv — YAZ Character set conversion utility
yaz-iconv
[-f
] [from
-t
] [to
-v
] [file...]
yaz-iconv converts data in file in character
set specified by from
to output in
character set as specified by to
.
This yaz-iconv utility similar to the iconv found on many POSIX systems (Glibc, Solaris, etc).
If no file
is specified,
yaz-iconv reads from standard input.
from
]
Specify the character set from
of the input file.
Should be used in conjunction with option -t
.
to
]
Specify the character set of
of the output.
Should be used in conjunction with option -f
.
Print more information about the conversion process.
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
to the designated encoding. If an encoding is decode-enabled, YAZ
may convert from the designated encoding.
The MARC8 encoding as defined by the Library of Congress. Most MARC21/USMARC records use this encoding.
Like MARC8 but with conversion prefers non-combined characters in the Latin-1 plane over combined characters.
Lossy encoding of MARC-8.
Lossless encoding of MARC8.
The most commonly used UNICODE encoding on the Internet.
ISO-8859-1, AKA Latin-1.
ISO 5426. Some MARC records (UNIMARC) use this encoding.
ISO 5428:1984.
An encoding for Greek in use by some vendors (Advance).
Danmarc (in danish) is an encoding based on UNICODE which is used for DanMARC2 records.