X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fyaz-iconv-man.xml;h=a9201092e9240c57962b6319c37bd203a34b8b50;hb=31596bdcae098f8acea695d44c44ee5f646b4c1f;hp=4bf973b61857aa0855747ddd41de72560eddb9d8;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431;p=yaz-moved-to-github.git
diff --git a/doc/yaz-iconv-man.xml b/doc/yaz-iconv-man.xml
index 4bf973b..a920109 100644
--- a/doc/yaz-iconv-man.xml
+++ b/doc/yaz-iconv-man.xml
@@ -1,5 +1,5 @@
-
%local;
@@ -12,18 +12,20 @@
YAZ
&version;
+ Index Data
-
+
yaz-iconv
1
+ Commands
-
+
yaz-iconv
- YAZ Charcter set conversion utility
+ YAZ Character set conversion utility
-
+
yaz-iconv
@@ -33,15 +35,15 @@
file
-
+
DESCRIPTION
- yaz-iconv converts data in file in character
+ yaz-iconv converts data in the character
set specified by from to output in
- character set as specified by to.
+ the character set as specified by to.
- This yaz-iconv utility similar to the
+ This yaz-iconv utility is similar to the
iconv found on many POSIX systems (Glibc, Solaris, etc).
@@ -49,9 +51,9 @@
yaz-iconv reads from standard input.
-
+
OPTIONS
-
+
-ffrom]
@@ -81,15 +83,114 @@
+ ENCODINGS
+
+ 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)
+
+
+ The MARC8 encoding as defined by
+ the Library of Congress. Most MARC21/USMARC records use this encoding.
+
+
+
+
+ marc8s (encode, decode)
+
+
+ Like MARC8 but conversion prefers non-combined characters
+ in the Latin-1 plane over combined characters.
+
+
+
+
+ marc8lossy (encode)
+
+
+ Lossy encoding of MARC-8.
+
+
+
+
+ marc8lossless (encode)
+
+
+ Lossless encoding of MARC8.
+
+
+
+
+ utf8 (encode, decode)
+
+
+ The most commonly used UNICODE encoding on the Internet.
+
+
+
+
+ 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).
+
+
+
+
+ danmarc (decode)
+
+
+ Danmarc (in danish) 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.
- yaz-iconv -f ISO-8859-1 -t UTF-8 -X <input.lst >output.lst
+ yaz-iconv -f ISO-8859-1 -t UTF-8 <input.lst >output.lst
-
+
FILES
@@ -109,15 +210,7 @@