NAME
yaz-iconv - YAZ Character set conversion utility
SYNOPSIS
yaz-iconv [-f from] [-t to] [-v] [file...]
DESCRIPTION
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.
OPTIONS
-ffrom] Specify the character set from of the input file. Should be used in conjunction with option -t. -tto] Specify the character set of of the output. Should be used in conjunction with option -f. -v Print more information about the conversion process.
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 to the designated encoding. If an encoding is decode-enabled, YAZ may convert from the designated encoding. marc8 (encode, decode) The MARC8[1] encoding as defined by the Library of Congress. Most MARC21/USMARC records usees this encoding. marc8s (encode, decode) Like MARC8 but with 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) uses this encoding. iso5428:1984 (encode, decode) ISO 5428:1984. advancegreek (encode, decode) An encoding for Greek used by some vendors (Advance). 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. yaz-iconv -f ISO-8859-1 -t UTF-8 -X <input.lst >output.lst
FILES
prefix/bin/yaz-iconv prefix/include/yaz/yaz-iconv.h
SEE ALSO
yaz(7) iconv(1)
NOTES
1. MARC8 http://www.loc.gov/marc/specifications/speccharmarc8.html 2. Danmarc (in danish) http://www.kat-format.dk/danMARC2/Danmarc2.4.htm#felt+Indl.+4
More Linux Commands
manpages/iswctype.3.html
iswctype(3) - wide-character classification - Linux man page
If wc is a wide character having the character property designated by desc (or in other words: belongs to the character class designated by desc), the iswctype(
manpages/symlinkat.2.html
symlinkat(2) - create a symbolic link relative to a director
symlink() creates a symbolic link named linkpath which contains the string target. Symbolic links are interpreted at run time as if the contents of the link had
manpages/getopt.1.html
getopt(1) - parse command options (enhanced) (Man Page).....
getopt is used to break up (parse) options in command lines for easy parsing by shell procedures, and to check for legal options. It uses the GNU getopt(3) rout
manpages/Tk_ComputeTextLayout.3.html
Tk_ComputeTextLayout(3) - routines to measure and display si
These routines are for measuring and displaying single-font, multi-line, justified text. To measure and display simple single-font, single-line strings, refer t
manpages/Mail::SpamAssassin::Plugin::AntiVirus.3pm.html
Mail::SpamAssassin::Plugin::AntiVirus(3pm) - simple anti-vir
The MICROSOFT_EXECUTABLE rule works by checking for 3 possibilities in the message in any application/* or text/* part in the message: - in text parts, look for
manpages/scalbl.3.html
scalbl(3) - multiply floating-point number by integral power
These functions multiply their first argument x by FLT_RADIX (probably 2) to the power of exp, that is: x * FLT_RADIX ** exp The definition of FLT_RADIX can be
manpages/xmag.1.html
xmag(1) - magnify parts of the screen - Linux manual page...
The xmag program allows you to magnify portions of an X screen. If no explicit region is specified, a square with the pointer in the upper left corner is displa
manpages/SDL_CreateThread.3.html
SDL_CreateThread(3) - Creates a new thread of execution that
SDL_CreateThread creates a new thread of execution that shares all of its parents global memory, signal handlers, file descriptors, etc, and runs the function f
manpages/glutKeyboardFunc.3.html
glutKeyboardFunc(3) - sets the keyboard callback for the cur
glutKeyboardFunc sets the keyboard callback for the current window. When a user types into the window, each key press generating an ASCII character will generat
manpages/Tcl_FindExecutable.3.html
Tcl_FindExecutable(3) - identify or return the name of the b
The Tcl_FindExecutable procedure computes the full path name of the executable file from which the application was invoked and saves it for Tcls internal use. T
manpages/XCompose.5.html
XCompose(5) - X client mappings for multi-key input sequence
The X library, libX11, provides a simple input method for characters beyond those represented on typical keyboards using sequences of key strokes that are combi
manpages/xzgrep.1.html
xzgrep(1) - search compressed files for a regular expression
xzgrep invokes grep(1) on files which may be either uncompressed or compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options specified are passed direc
