Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Character Set Converter syntax

The charconv utility converts text files between character set encodings.

Invocation syntax

charconv [-big | -little] [-byteordermark] -input= encoding input_filename -output=encoding output_filename

Where encoding is:

unicode | utf8 | big5 | gb2312 | ...

Arguments

-big

The Unicode byte order (for the input or output file) is big endian.

-little

The Unicode byte order (for the input or output file) is little endian.

-byteordermark

A byte order mark is added to the Unicode output. If specified, the Unicode byte order must also be specified.

-input=encoding input_filename

The encoding and (optional) filename of the input file.

-output=encoding output_filename

The encoding and (optional) filename of the output file.

Example

To convert a text file written in ISO-8859-2 into UTF-8, first convert it into Unicode:

> charconv -input=Iso88592 iso88592File.txt -output=unicode unicodeFile.txt

Then convert it into UTF-8:

> charconv -input=unicode unicodeFile.txt -output=utf8 utf8File.txt