1YAZ-ICONV(1)                       Commands                       YAZ-ICONV(1)
2
3
4

NAME

6       yaz-iconv - YAZ Character set conversion utility
7

SYNOPSIS

9       yaz-iconv [-f from] [-t to] [-v] [file...]
10

DESCRIPTION

12       yaz-iconv converts data in the character set specified by from to
13       output in the character set as specified by to.
14
15       This yaz-iconv utility is similar to the iconv found on many POSIX
16       systems (Glibc, Solaris, etc).
17
18       If no file is specified, yaz-iconv reads from standard input.
19

OPTIONS

21       -ffrom]
22           Specify the character set from of the input file. Should be used in
23           conjunction with option -t.
24
25       -tto]
26           Specify the character set of of the output. Should be used in
27           conjunction with option -f.
28
29       -v
30           Print more information about the conversion process.
31

ENCODINGS

33       The yaz-iconv command and the API as defined in yaz/yaz-iconv.h is a
34       wrapper for the library system call iconv. But YAZ' iconv utility also
35       implements conversions on its own. The table below lists characters
36       sets (or encodings) that are supported by YAZ. Each character set is
37       marked with either encode or decode. If an encoding is encode-enabled,
38       YAZ may convert to the designated encoding. If an encoding is
39       decode-enabled, YAZ may convert from the designated encoding.
40
41       marc8 (encode, decode)
42           The MARC8[1] encoding as defined by the Library of Congress. Most
43           MARC21/USMARC records use this encoding.
44
45       marc8s (encode, decode)
46           Like MARC8 but conversion prefers non-combined characters in the
47           Latin-1 plane over combined characters.
48
49       marc8lossy (encode)
50           Lossy encoding of MARC-8.
51
52       marc8lossless (encode)
53           Lossless encoding of MARC8.
54
55       utf8 (encode, decode)
56           The most commonly used UNICODE encoding on the Internet.
57
58       iso8859-1 (encode, decode)
59           ISO-8859-1, AKA Latin-1.
60
61       iso5426 (decode)
62           ISO 5426. Some MARC records (UNIMARC) use this encoding.
63
64       iso5428:1984 (encode, decode)
65           ISO 5428:1984.
66
67       advancegreek (encode, decode)
68           An encoding for Greek in use by some vendors (Advance).
69
70       danmarc (decode)
71           Danmarc (in danish)[2] is an encoding based on UNICODE which is
72           used for DanMARC2 records.
73

EXAMPLES

75       The following command converts from ISO-8859-1 (Latin-1) to UTF-8.
76
77               yaz-iconv -f ISO-8859-1 -t UTF-8 <input.lst >output.lst
78
79
80

FILES

82       prefix/bin/yaz-iconv
83
84       prefix/include/yaz/yaz-iconv.h
85

SEE ALSO

87       yaz(7) iconv(1)
88

AUTHORS

90       Index Data
91

NOTES

93        1. MARC8
94           https://www.loc.gov/marc/specifications/speccharmarc8.html
95
96        2. Danmarc (in danish)
97           http://www.kat-format.dk/danMARC2/Danmarc2.4.htm
98
99
100
101YAZ 5.32.0                        05/30/2022                      YAZ-ICONV(1)
Impressum