... ENCODING { DEFAULT
| {UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]}
| NON-UNICODE } ... .
1. ... DEFAULT
2. ... UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]
3. ... NON-UNICODE
: The additions after ENCODING determine the character
representation in which the content of the file is handled. The addition ENCODING must be specified in
Unicode programs and may only be omitted in
non-Unicode programs. If the
addition ENCODING is not specified in non-Unicode programs, the addition NON-UNICODE is used implicitly.
: It is recommended that files are always written in UTF-8, if all readers can process this format. Otherwise, the code page can depend on the
text environment and it is difficult to identify the code page from the file content.
... DEFAULT
: In a Unicode system, the specification DEFAULT corresponds
to UTF-8, and in a non-Unicode system, it corresponds to NON-UNICODE.
... UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]
... SKIPPING|WITH BYTE-ORDER MARK
: The characters in the file are handled according to the Unicode character representation UTF-8.
... SKIPPING|WITH BYTE-ORDER MARK
: This addition defines how the byte order mark (BOM), with which a file encoded in the UTF-8 format can begin, is handled. The BOM is a sequence of 3 bytes that indicates that a file is encoded in UTF-8.
The addition BYTE-ORDER MARK cannot be used together with the AT POSITION.
... NON-UNICODE
: In a non-Unicode system, the data is read or written without conversion. In a Unicode system, the
characters of the file are handled according to the non-Unicode codepage that would be assigned at the time of reading or writing in a non-Unicode system according to the entry in the database table TCP0C of the current
text environment.