Big5-output-file

function

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 Topics