Options for nzconvert

The following table describes the options that you can use with the nzconvert command.

Table 1. The nzconvert options
Option Description
-a[lias] name Reports whether name is a valid converter name and lists all its aliases. You can specify any number of -a options.
-bf filename Specifies the log file for errors only. If there are no errors, the system does not create a log file. The default is standard error.
-bom Removes any initial Byte Order Mark (BOM) (UTF-8, -16 or -32) from the start of a UTF-8 output file and all other instructed transforms. See Byte Order Mark
-df filename Specifies the input file name. The default is standard input.
-f[rom] Specifies the encoding that you are converting from. You cannot use it with the -l or -a options. If -t is specified, the default is UTF-8.
-h or -? Prints this help text.
-l[ist] Lists the primary name of all supported code set converters. You can use it with any number of -a options.
-maxErrors n Aborts after encountering <n> characters that cannot be converted. The default is 1. Use 0 to cause the load to never abort.
-nfc For input that is in UTF-8, -16, or -32 format, calls the International Components for Unicode (ICU) routines to convert data to NFC format.
-of filename Specifies the output file name. The default is standard output.
-[rR]ev Prints the revision number of the nzconvert command.
-s[ubs] char Sets the substitution character to use when a conversion cannot be done and the number of maxErrors is greater than 1.
-t[o] Specifies the encoding that you are converting to. You cannot use this option with the -l or -a options. If -f is specified, the default is UTF-8.