kCharConverter.sh

The kCharConverter.sh script is used to convert the character set of a file to a different character set. If no source encoding has been specified. he script uses the default character set of the system It will convert it to the character set specified by destEnc.

Examples

sh ./kCharConverter.sh [-p] [-escape <Source_File [Dest_File]> [Dest_Enc]]
sh ./kCharConverter.sh [-p] [-escape <Source_File [Dest_File]> [Dest_Enc]]
sh ./kCharConverter.sh [-p] [-escape <Source_File <Dest_File>> <Source_Enc> <Dest_Enc>]

where

Source_File

represents the original character file name

Dest_File

represents the new file name

Source_Enc

represents the original character set encoding for the file

Dest_Enc

represents the new character set encoding you are setting for the file

If you do not specify the source encoding, the script uses the default character set of the system and converts that to the destination character set you specify.