swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
Functions       Platforms  
  omefio - international character encodings   Available in:
Professional
Enterprise

The omefio library allows you to do a variety of character encoding conversions on file input or output. The available conversions include:

Also included in this function library is one external source function (input-file) and one external output function (output-file) that provide basic file input and output functionality. These functions duplicate basic OmniMark file input and output processes, with one notable exception: if a file i/o error is encountered when doing "regular" OmniMark file processing, your program will terminate. The input-file and output-file functions, however, make use of the "exceptions-to" optional argument, allowing file I/O errors to be noted without terminating the program. This error handling is beneficial in server programs where program termination is often unacceptable.

Big 5 is a Chinese character set encoding that specifies 13,494 Chinese characters. It is the most widely used encoding in Taiwan and its name refers to the five companies that collaborated in its development in 1984.

Note that not all legitimate Big 5 characters have a corresponding UTF-8 encoding, so occasionally you will lose data during a conversion. OmniMark will issue a warning when such a data loss occurs.

The international character encodings library, omefio, depends on the OmniMark I/O exception object library (omioe). This means that omioe must be included in the program before omefio, as shown:

  include "omioe.xin"
  include "omefio.xin"

Functions
   Big5-input-file
   Big5-output-file
   euc-input-file
   euc-output-file
   input-file
   jis-input-file
   jis-output-file
   output-file
   sjis-input-file
   sjis-output-file
   utf16-input-file
   utf16-output-file
 
Platforms
   HP/UX
   IBM AIX
   Linux (Intel)
   MS Windows 95/98/ME
   MS Windows NT/2000
   Sun Solaris
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ ERRORS ]

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:52 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.