MINERVA allows the use of international character sets in programs and data.
However, the underlying Java implementation and operating system must be able to handle internationalization correctly, for example you cannot expect to be able to display Korean Hangul characters if your operating system does not have the appropriate fonts installed.
To open a file with international characters, use the option encoding(Encoding)
e.g.
open(File,read,Stream,[text, encoding('EUCJIS')])
to compile a *.min minerva source code file with a given encoding use
minervac -encoding Encoding e.g. minervac -encoding EUCJIS
In a MINERVA application, to open text files by default with a given encoding, use the command line option
minerva -encoding Encoding e.g. minerva -encoding SJIS
*.mpk MINERVA Package Files (i.e. program interface descriptions) will be generated in the encoding of their respective *.min source file.
The encoding property in the *.msp MINERVA Startup Property file can be used to indicate the encodings of individual *.mpk files. This allows to mix different source file encodings in a single application.
See the ExamplePrograms for usage.
| scroll to top |
|