|
|||||
|
||||||
Other Library Functions |
function |
sjis.reader |
Library: Shift JIS (OMFFSJIS)
Import: omffsjis.xmd |
export external string source function reader from value string source input-data
Use reader to read a value string source, its argument, and return the text of that file converted from a Shift-JIS encoding to a UTF-8 encoding. That is, the provided source is in Shift-JIS, but the program sees UTF-8.
To use omffsjis, you must import it into your program using a statement like this:
import "omffsjis.xmd" prefixed by sjis.
; Submit the Shift-JIS-encoded file named by the first command-line ; argument to the program's find rules, converting from Shift-JIS ; to UTF-8 prior to the find rules seeing the data: import "omffsjis.xmd" prefixed by sjis. process submit sjis.reader from file #args [1]
Other Library Functions
|
Copyright © Stilo International plc, 1988-2010.