![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | Big5-input-file | ||||
| Other Library Functions |
|
Library: Encoded File I/O
Include: omioe.xin, omefio.xin |
define external source function Big5-input-file
value stream filename
exceptions-to value io-exception exceptions-to optional
This external source function converts a stream of Big Five characters to a stream of UTF-8 characters.
Arguments:
Example:
set my-buffer to Big5-input-file "test.dat" 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.
| ---- |