This topic contains the
iconv return codes and messages.
The
iconv utility returns the following return codes:
- 0
- No errors were detected and the file was successfully converted
from the input codeset to the output codeset.
- 4
- The specified conversions are not supported, the given input
file cannot be read, or there is a usage-syntax error.
- 8
- An unusable character was encountered in the input file.
- >8
- A severe error occurred.
The messages issued by the
iconv utility have the following
format:
- nnnn
- Error message number
- s
- Error severity
- 10
- Warning message
- 30
- Error message
- %n$x
- Substitution variable
- %
- The start of the substitution variable
- n
- The number that represents the line position of the variable
- $
- A delimiter
- x
- The kind of variable (d=decimal, c=character, s=string)