swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
     
pattern  

utf8-char

 
 

Syntax

  utf8-char


Purpose

You can use utf8-char as a pattern to match UTF-8 encoded characters in your input data.

The following program converts a UTF-8 encoded file to a long character encoding (2 bytes for every character):

  include utf8pat.xin

  process
      submit file #main-input

  find utf8-char => char
      output "2f0b" % utf8-char-number char

For other related constants and keywords, see the UTF-8 text processing legacy library.

       
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:58 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.