Progress
Database Administration
Guide and Reference


PROUTIL CONVFILE Qualifier

Converts a text file from one character set to any other character set.

SYNTAX

Operating System
Syntax
UNIX
Windows
proutil -C convfile
{ file-name convert using table-name | file-name [analyze]}

file-name

Specifies the name of the file you are converting or analyzing.

convert using table-name

Specifies the name of the file containing the conversion table. This file requires the following format:

# optional comment lines begin with the # character 
SOURCE source-codepage-name 
TARGET target-codepage-name 
/*000-015*/000  001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 
/*016-031*/016  017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 
/*032-047*/032  033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 
                                       . 
                                       . 
                                       . 
/*240-255*/240  241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 

where source-codepage-name is the name of the character set of file-name, and target-codepage-name is the name of the desired character set for file-name.

The conversion table is composed of 256 cells, numbering from 0 to 255. You can build your own conversion table, or you can use default tables stored in the DLC/prolang directory if appropriate. The tables in DLC/prolang are as follows:

analyze

Displays the number of occurrences of each character in file-name. You might be able to determine the character set of file-name by comparing the output of this option against different code pages.


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