|  | 
 | ||||
|        | |||||
|  | ||||||
| Other Library Functions | ||||||
| pattern | utf8-char | 
| Library: UTF-8 text processing legacy library (UTF8PAT) Include: utf8pat.xin | 
utf8-char
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.
| Other Library Functions multi-byte-utf8-char single-byte-utf8-char utf8-char utf8-char-number utf8-encoded | 
Copyright © Stilo International plc, 1988-2008.