swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
    Other Library Functions  
function  

euc.reader

 
 

Library: EUC (OMFFEUC)
Import: omffeuc.xmd

Declaration

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


Purpose

Use EUC_reader to reads value string source, its argument, and return the text of that file converted from a EUC encoding to a UTF-8 encoding. That is, the provided source is in EUC, but the program sees UTF-8.

Usage Note

To use omffeuc, you must import it into your program using a statement like this:

    import "omffeuc.xmd" prefixed by euc.

(Please see the import topic for more on importing.)

Example


  ; Submit the EUC-encoded file named by the first command-line
  ; argument to the program's find  rules, converting from EUC
  ; to UTF-8 prior to the  find  rules seeing the data:
  import "omffeuc.xmd" prefixed by euc.
  process
     submit euc. reader from file #args [1]
  

      Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.