function
Library: Shift JIS (OMFFSJIS)
Import : omffsjis.xmd |
export external string sink function writer into value string sink output-data
Use sjis.writer
to accept UTF-8 encoded data and write that data to its value string sink
output-data argument, converted from a UTF-8 encoding to a Shift-JIS encoding. That is, the program
writes UTF-8, but the provided output receives Shift-JIS.
The following program uses sjis.writer
to convert the output of find
rules, before writing the
result out ot #main-output
import "omffsjis.xmd" prefixed by sjis. process using output as sjis.writer into #main-output using group "process input" submit #main-input group "process input" ; ...
To use sjis.writer
, you must import OMFFSJIS into your program using an import
declaration such as:
import "omffsjis.xmd" prefixed by sjis.