uconv command: convert encoding of character set
Syntax
uconv [-f FromCode] [-t Tocode [Filename ]]
Description
Use the uconv command to convert the encoding of characters read from either standard input or the specified file from one coded character set (CCSID) to another and then write the results to standard output.The uconv command follows the ICU (International Components for Unicode) standard. That is, it internally converts characters in FromCode coded character set to Unicode (UTF-16) before converting back to the ToCode coded character set. For more information about the ICU standard, including APIs that can be used with uconv, visit the ICU Home Page.
You can use the listconv command to show the available CCSIDs. For more information, see listconv command: list all the default converters in CCSID.
Flags
You can use these flags with the uconv command:- -f FromCode
- Specifies the coded character set in which the input data is encoded. The space between the -f flag and FromCode is required. The input data set should consist of characters in the coded character set identified by FromCode.
- -t ToCode [FileName]
- Spec