swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
    Related Concepts   Other Library Functions  
function  

Big5-output-file

 
 

Library: Character encodings, international (OMEFIO)
Include: omefio.xin

Declaration

define external string sink function Big5-output-file
                value string filename
  exceptions-to value io-exception exceptions-to optional


Purpose

This external string sink function converts a stream of UTF-8 characters to a stream of Big Five characters.

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.

Arguments:

Example:

  set Big5-output-file "myfile.utf" to my-buffer exceptions-to e
  
  do when get-exception-status e != 0
     put #error "Error " || "16r8fzud" % get-exception-status e || "occurred. %n"
  done

You should note two common errors.

      Related Concepts
   Character set encoding
 
Other Library 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
 
 

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

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.