INPUT_CHARSET
|
Syntax: |
INPUT_CHARSET = <Character Set> <Character Set> =
<STRING-EXPRESSION> |
||||||||||||||
|
Meaning: |
Defines the character set used to read a
sequential file. When a file that has been opened with OPEN INPUT is read under Java, all input characters are interpreted as
characters of the standard character set of the computer. The instruction INPUT_CHARSET can specify a
different character set. The available character sets can be found in the
Java documentary with the class Charset. The instruction INPUT_CHARSET = "" enables
the standard character set again. The
following standard charsets are available:
|
||||||||||||||
|
Parameter: |
|
||||||||||||||
|
Sample: |
/* read characters
with OEM character set INPUT_CHARSET = "CP850" OPEN
INPUT 1,"TEST.DAT" ON ERROR … Error … END LINE
INPUT 1,LINE$ ON ERROR … Error … END CLOSE 1 ON ERROR
END |
||||||||||||||
|
See also: |
|