Try OpenEdge Now
skip to main content
Internationalizing Applications
Using Unicode : Using Unicode with OpenEdge databases : Converting an OpenEdge database to UTF-8 using the PROUTIL CONVCHAR utility
 

Converting an OpenEdge database to UTF-8 using the PROUTIL CONVCHAR utility

This section describes the steps to convert an OpenEdge database to UTF-8 using the PROUTIL CONVCHAR utility.
To convert an OpenEdge database to UTF-8 using the PROUTIL CONVCHAR utility:
Caution: Before you begin, back up your database.
1. Convert the database to UTF-8 using the following syntax:
proutil database-name -C convchar convert utf-8
2. Load the collation data definition (.df) file using the syntax for your specific operating system:
Windows syntax
%DLC%\prolang\utf\filename.df
UNIX syntax
$DLC/prolang/utf/filename.df
For the UTF-8 BASIC collation, use the _tran.df collation data definition file. For an International Components for Unicode (ICU) collation, use one of the collation data definition files prefixed with "ICU" or "ICU_48" (such as ICU-cs.df used for Czech databases). For more information about character processing, see the README file in the directory OpenEdge/prolang.
3. Compile, store, and apply the UTF-8 word-break rules to your database. For complete instructions, see Compiling, storing, and applying the UTF-8 word-break rules to a database.
4. Rebuild the indexes using the following syntax:
proutil database-name -C idxbuild