X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Ffield-structure.xml;fp=doc%2Ffield-structure.xml;h=a1de6dd2ef95db362b83fd705fb5a42ae99847d9;hp=3a0a5f2535027830e1d86c71c7b7cfe00c834376;hb=2ce46f160259c9452405b68489c16654919cd16c;hpb=a92270aafb3ba7b336bc2334ed7c44c631c1cb29 diff --git a/doc/field-structure.xml b/doc/field-structure.xml index 3a0a5f2..a1de6dd 100644 --- a/doc/field-structure.xml +++ b/doc/field-structure.xml @@ -1,5 +1,5 @@ - + Field Structure and Character Sets @@ -175,6 +175,29 @@ The contents of the character map files are structured as follows: + + encoding encoding-name + + + This directive must be at the very beginning of the file, and it + specifies the character encoding used in the entire file. If + omitted, the encoding ISO-8859-1 is assumed. + + + For example, one of the test files found at + test/rusmarc/tab/string.chr contains the following + encoding directive: + + encoding koi8-r + + and the test file + test/charmap/string.utf8.chr is encoded + in UTF-8: + + encoding utf-8 + + + lowercase value-set