euc.reader

function

Library: EUC (OMFFEUC)
Import : omffeuc.xmd

Declaration
export external string source function 
   reader from value string source input-data


Purpose

Use euc.reader to read its value string source input-data argument, and return that data converted from a EUC encoding to a UTF-8 encoding. That is, the provided source is in EUC, but the program sees UTF-8.

Example

The following program uses euc.reader to convert #main-input from UTF-8 to EUC, and then send the result to find rules for further processing.

  import "omffeuc.xmd" prefixed by euc.
  
  process
     using group "process input"
        submit euc.reader from #main-input
  
  group "process input"
     ; ...

Usage Note

To use this function, you must import OMFFEUC into your program using an import declaration such as:

  import "omffeuc.xmd" prefixed by euc.

Other Library Functions