1CVTENC(1)                    GNUstep System Manual                   CVTENC(1)
2
3
4

NAME

6       cvtenc - file encoding converter
7
8

SYNOPSIS

10       cvtenc [-Encoding encoding] [-EscapeIn yes|NO] [-EscapeOut yes|NO]
11        filename
12
13

DESCRIPTION

15       Converts  a file encoded in a specified or default non-unicode encoding
16       to unicode (UTF16), or, if the file is already in unicode, converts  it
17       to  a specified or default non-unicode encoding.  The converted text is
18       printed to standard out.  If the filename is a hyphen  then  this  tool
19       reads from standard input.
20
21

OPTIONS

23       -Encoding  encoding
24           Specify  non-unicode encoding to be used.  The direction of conver‐
25           sion depends on whether the file given as input  is  recognized  as
26           unicode  (from the higher order bytes).  To get a list of available
27           encodings, enter "list" for the encoding.  If this  is  not  speci‐
28           fied, the default encoding for the current locale is used.
29
30       -EscapeIn YES|NO
31           Specify  '-EscapeIn  YES'  (the default is 'NO') to parse the input
32           for \u escape sequences (as in property lists).
33
34       -EscapeOut YES|NO
35           Specify '-EscapeOut YES' (the  default  is  'NO')  to  generate  \u
36           escape  sequences (as in property lists) in the output.  Note, this
37           might produce unexpected results for some encodings.
38
39       -Unicode IN|OUT
40           Specify '-Unicode IN' (or '-Unicode OUT') to control the  direction
41           of  conversion rather than having the tool guess it on the basis of
42           the content it reads.  Using '-Unicode  IN'  means  that  the  tool
43           reads  UTF16  data  and writes C-String data, while using '-Unicode
44           OUT' merans that the tool reads  C-String  data  and  writes  UTF16
45           data.
46
47
48

HISTORY

50       Written in 2002.  Minr update in 2010.
51
52       This manual page first appeared in gnustep-base 1.9.2 (March 2004).
53

AUTHORS

55       cvtenc was written by Richard Frith-Macdonald <rfm@gnu.org>
56
57
58
59GNUstep                          February 2004                       CVTENC(1)
Impressum