MAN page from openSUSE Tumbleweed gnustep-base-1.26.0-34.5.x86_64.rpm
CVTENC
Section: GNUstep System Manual (1)
Updated: February 2004
Index NAME
cvtenc - file encoding converter
SYNOPSIS
cvtenc[
-Encoding encoding][
-EscapeIn yes|NO][
-EscapeOut yes|NO]
filename
DESCRIPTION
Converts a file encoded in a specified or default non-unicode encoding tounicode (UTF16), or, if the file is already in unicode, converts it to aspecified or default non-unicode encoding.The converted text is printed to standard out.If the filename is a hyphen then this tool reads from standard input.
OPTIONS
- -Encoding encoding
- Specify non-unicode encoding to be used. The direction of conversion dependson whether the file given as input is recognized as unicode (from the higherorder bytes). To get a list of available encodings, enter "list" for theencoding. If this is not specified, the default encoding for the currentlocale is used.
- -EscapeIn YES|NO
- Specify '-EscapeIn YES' (the default is 'NO') to parse the input for \uescape sequences (as in property lists).
- -EscapeOut YES|NO
- Specify '-EscapeOut YES' (the default is 'NO') to generate \u escapesequences (as in property lists) in the output. Note, this might produceunexpected results for some encodings.
- -Unicode IN|OUT
- Specify '-Unicode IN' (or '-Unicode OUT') to control the direction ofconversion rather than having the tool guess it on the basis of the contentit reads. Using '-Unicode IN' means that the tool reads UTF16 data andwrites C-String data, while using '-Unicode OUT' merans that the tool readsC-String data and writes UTF16 data.
HISTORY
- Written in 2002.Minr update in 2010.This manual page first appeared in gnustep-base 1.9.2 (March 2004).
AUTHORS
cvtencwas written by Richard Frith-Macdonald <rfmAATTgnu.org>
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- HISTORY
- AUTHORS
This document was created byman2html,using the manual pages.