Progress
Internationalization Guide


Compiling, Storing, and Applying the UTF-8 Word-break Rules To a Database

When you convert an existing database to UTF-8, whether you use the PROUTIL CONVCHAR utility or the DUMP and LOAD utilities, you must compile, store, and apply the UTF-8 word-break rules to the database.

If you forget to apply the word-break rules to your database, you might get the following symptoms:

To compile, store, and apply the UTF-8 word-break rules to a database, following these steps:

  1. Compile a new version of the word-break table for UTF-8 using the syntax for your operating system:
  2. Windows Syntax
    UNIX Syntax
    proutil -C wbreak-compiler
      %DLC%\prolang\convmap\utf-8.bas
      number 
    
    proutil -C wbreak-compiler
      $DLC/prolang/convmap/utf-8.bas
      number 
    

    where number indicates an INTEGER between 1 and 255.

    This produces a new word-break table, proword.number.

  3. Store the new word-break table using one of the following techniques:
    • Store it in the $DLC directory on UNIX or in the %DLC% directory on Windows.
    • Store it in an arbitrary directory, then set the environment variable PROWDnumber to the value of the arbitrary directory.
  4. Apply the new word-break rules to the database using the following syntax:
  5. SYNTAX
    proutil database-name -C word-rules number 
    


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095