IF Computer > MINERVA > Manual > Reference > Internationalization

Internationalization

MINERVA
ifcomputer logo
f
Expert Services on the Web

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.

  • open/3/4:

    To open a file with international characters, use the option encoding(Encoding)

    e.g.

    		open(File,read,Stream,[text, encoding('EUCJIS')])
    

  • minervac

    to compile a *.min minerva source code file with a given encoding use

    		minervac -encoding Encoding
    	e.g.
    		minervac -encoding EUCJIS
    

  • minerva

    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 *.msp files

    *.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.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Internationalization/print_en.html
published 2012/2/6 update 1998/3/4 (c) 1996-2009 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS