codepage

Codepage converter

You can use the Codepage converter to convert local files from one codepage to another. If you want to convert a remote file, you must download it first. The Codepage converter can convert more than one file at a time. The Codepage converter processes the changes for files downloaded in either ASCII or binary mode.

The Host On-Demand FTP client does not automatically convert files from one codepage to another. If you use the FTP client to transfer files and you want to convert codepages, you must use the Codepage Converter to convert files before upload and after download.

Starting the Codepage converter

From the FTP client, click Actions > Codepage converter.

Using the Codepage converter

  • Select one of the following supported languages:
    • Arabic
    • Hebrew
    • Central Europe
    • Greek
    • Japanese
    • Korean
    • Latin
    • Russian
    • Thai
    • Turkish
    • Chinese Simplified
    • Chinese Traditional
  • Select the transfer mode: ASCII or binary. If you select binary mode, select the host type for the input and output files.

    If you want to use the binary mode for a mainframe codepage (z/OS, i5/OS, or OS/400), set the record length for the file. The Codepage converter does not process files created with variable record lengths.

  • Input File
  • Type the name of the input file in the Name field or click Browse to select a file.
  • Select the current codepage of the Input File. The following table lists the supported codepages for each language.
    LanguageCodepageDescription
    Arabic8859_6Arabic ISO code page for AIX
    Cp1256Arabic local code page for Windows NT
    Cp864Arabic local code page for OS/2
    Cp420EBCDIC Arabic
    Hebrew8859_8Hebrew ISO code page for AIX
    Cp1255Hebrew local code page for Windows NT
    Cp862Hebrew local code page for OS/2
    Cp856Hebrew code page for AIX
    Cp424EBCDIC Hebrew
    Cp803EBCDIC Hebrew
    Central Europe8859_2ISO 8859-2, Latin-2
    Cp1153EBCDIC Latin-2 Multilingual, Euro support
    Cp852Local Latin-2 codepage
    Cp870EBCDIC Latin-2 Multilingual
    Greek8859_7ISO 8859-7, Latin/Greek
    Cp869Modern Greek local codepage
    Cp875EBCDIC Greek
    JapaneseCp1390EBCDIC Mixed Byte Japanese Katakana-Kanji codepage
    Cp1399EBCDIC Mixed Byte Japanese codepage
    Cp290EBCDIC Single Byte Japanese Katakana codepage
    Cp930EBCDIC Mixed Byte Japanese Katakana-Kanji codepage
    Cp939EBCDIC Mixed Byte Japanese Latin-Kanji codepage
    Cp942Local Japanese codepage
    KoreanCp1364EBCDIC Mixed Byte Korean codepage
    Cp933EBCDIC Mixed Byte Korean codepage
    Cp949Korean local codepage
    Latin8859_1ISO 8859-1, Latin-1
    Cp037EBCDIC USA, Canada, Australia, New Zealand, France, Portugal, Brazil
    Cp1046Arabic codepage for Windows
    Cp1047Latin-1, open systems
    Cp1140EBCDIC US and others, Euro support
    Cp1141EBCDIC Austria and Germany, Euro support
    Cp1142EBCDIC Denmark and Norway, Euro support
    Cp1143EBCDIC Finland and Sweden, Euro support
    Cp1144EBCDIC Italy, Euro support
    Cp1145EBCDIC Spain and Latin America, Euro support
    Cp1146EBCDIC United Kingdom, Euro support
    Cp1147EBCDIC France, Euro support
    Cp1148EBCDIC Latin-1, Euro support
    Cp1149EBCDIC Iceland, Euro support
    Cp273EBCDIC Austria, Germany
    Cp274Belgium (old)
    Cp275Brazil
    Cp277EBCDIC Denmark, Norway
    Cp278EBCDIC Finland, Sweden
    Cp280EBCDIC Italy
    Cp284EBCDIC Spain, Latin America
    Cp285IBM United Kingdom, Ireland
    Cp297EBCDIC France
    Cp437Local codepage for United States, Australia, New Zealand, and South Africa
    Cp500EBCDIC Latin-1
    Cp850Local Latin-1 codepage
    Cp871EBCDIC Iceland
    Cp924EBCDIC Latin-9
    Russian8859_5ISO 8859-5, Latin/Cyrillic
    Cp1025EBCDIC Cyrillic (Multilingual)
    Cp1112EBCDIC Latvia, Lithuania
    Cp1122EBCDIC Estonia
    Cp1123EBCDIC Ukraine
    Cp1154EBCDIC Cyrillic (Multilingual), Euro support
    Cp1156EBCDIC Baltic (Multilingual), Euro support
    Cp1157EBCDIC Estonia, Euro support
    Cp1158EBCDIC Cyrillic and Ukraine, Euro support
    Cp855Cyrillic local codepage
    Cp866Russian local codepage
    ThaiCp1160Thai with Low Tone Marks and Ancient Characters
    Cp838EBCDIC Thai
    Cp874Thai local codepage
    Turkish8859_9ISO 8859-9, Latin/Turkish
    Cp1026EBCDIC Turkey
    Cp1155EBCDIC Turkey, Euro support
    Cp857Turkish local codepage
    Chinese SimplifiedCp1381Simplified Chinese local codepage
    Cp1388EBCDIC Simplified Chinese
    Cp935EBCDIC Mixed Byte, Simplified Chinese
    Chinese TraditionalCp1371EBCDIC Traditional Chinese
    Cp937EBCDIC Mixed Byte, Traditional Chinese
    Cp948Traditional Chinese codepage for OS/2
    Cp950Traditional Chinese local codepage
    Cp964Traditional Chinese codepage for AIX
    Bidirectional support

    If you select Arabic or Hebrew, you can choose the text type and text orientation of the input file.

  • Select the current text type of the input file. The default is Logical.
  • Select the current text orientation of the input file. The default is Left to Right.
  • Output File
  • Type the name of the Output File or click Browse to select a file.
  • Select the codepage for the Output File. The codepage for the Output File must be different from the codepage for the Input File.
  • Bidirectional support

    If you select Arabic or Hebrew, you can choose the text type and text orientation of the output file.

  • Select the Text Type for the Output File. The default is Logical.
  • Select the text orientation of the output file. The default is Left to Right.
  • Symmetric Swapping

    Symmetric swapping is only available for Arabic and Hebrew. If you want to force symmetric swapping, select Symmetric Swapping.

    LamAlef Transform and Numeral Shape

    The LamAlef Transform and Numeral Shape options are available only for Arabic. If LamAlef is enabled and if the Input File is Visual and the Output File is Logical, then the expansion function is applied to all LamAlef characters in the Input File (one lamalef character is expanded to two characters - lam followed by alef).

    If the Input File is Logical and the Output File is Visual, then the compression function is applied to all LamAlef characters in the Input File (two characters lam and alef are compressed to one visual character).

    If LamAlef is disabled, no expansion and compression can be done during the conversion.

Starting the conversion

Once you complete the previous steps, click Start Conversion to start the conversion.

Converting more than one file

If you want to convert more than one file, after you type the name of the output file, click Add to list. The input file and output file names appear in the Input File and Output File list, for example, inpfile1.txt outpfile1.txt. The Codepage converter converts all files in the Input File and Output File list when you click Start Conversion.

Making changes to the selected files

  1. Highlight the input file and output file to change the conversion configuration.
  2. Click Edit.
  3. Make changes to the input file and output file parameters.
  4. Click Update in List to save your changes.
  5. Click Start Conversion. All the files in the Input File and Output File list will be converted.

Removing a file from the Input File and Output File list

To remove a file from the Input File and Output File list, select the file you want to remove and click Remove.

Exiting the Codepage converter

To close the Codepage converter window, click Close.