cvtenc --version (return code: 0)
2017-09-25 14:38:18.931 cvtenc[23843:23843]
This utility expects a filename as an argument.
It reads the file, and writes it to STDOUT after converting it
to unicode (UTF16) from C-string encoding or vice versa.
You can use '-' as the filename argument to read from STDIN.
You can supply a '-Encoding name' option to specify the C-string
encoding to be used, if you don't want to use the default.
If you supply an unknown encoding the tool will print a list
of all the known encodings.
You can supply a '-EscapeIn YES' option to specify that input
should be parsed for \U escape sequences (as in property lists).
You can supply a '-EscapeOut YES' option to specify that output
should be ascii with \U escape sequences (for property lists).
You can supply a '-Unicode in/out' option to specify that the
conversion is from/to unicode (UTF16). This suppresses the normal
behavior of guessing the direction of conversion from the content
of the incoming data.
cvtenc --help (return code: 0)
2017-09-25 14:38:18.837 cvtenc[23805:23805]
This utility expects a filename as an argument.
It reads the file, and writes it to STDOUT after converting it
to unicode (UTF16) from C-string encoding or vice versa.
You can use '-' as the filename argument to read from STDIN.
You can supply a '-Encoding name' option to specify the C-string
encoding to be used, if you don't want to use the default.
If you supply an unknown encoding the tool will print a list
of all the known encodings.
You can supply a '-EscapeIn YES' option to specify that input
should be parsed for \U escape sequences (as in property lists).
You can supply a '-EscapeOut YES' option to specify that output
should be ascii with \U escape sequences (for property lists).
You can supply a '-Unicode in/out' option to specify that the
conversion is from/to unicode (UTF16). This suppresses the normal
behavior of guessing the direction of conversion from the content
of the incoming data.