1GAUCHE-CESCONV(1) Gauche Commands GAUCHE-CESCONV(1)
2
3
4
6 gauche-cesconv - convert text from one character encoding scheme to
7 another
8
10 gauche-cesconv [-h] [-f encoding] [-t encoding] [-o outfile] [infile]
11
13 The gauche-cesconv command is a program to convert text from one
14 character encoding scheme (CES) to another, using Gauche's character
15 conversion module. Hence the supported character sets are the same as
16 Gauche's. See the info document of Gauche for more details.
17
18 There are other commands that provide the same functionality and more,
19 such as iconv(1) or nkf(1), but they are not universally available by
20 default. This command is provided for Gauche's external packages to
21 ease the installation and configuration process; for those packages, it
22 is certain that gauche-cesconv is available, so they don't need to
23 check availability of iconv etc.
24
25 When infile is omitted, the text is read from standard input.
26
28 -f, --from-code=encoding
29 Selects input encoding. Can be ´*JP´ to guess the character
30 encoding from japanese text, among either ISO2022-JP(-1,2,3),
31 EUCJP, SHIFT_JIS or UTF-8. If omitted, gauche´s native CES is
32 used.
33
34 -h, --help
35 Show summary of options.
36
37 -o, --output=outfile
38 Place output in file outfile. If omitted the converted text is
39 written to standard output.
40
41 -t, --to-code=encoding
42 Selects output encoding. (see also --from-code)
43
45 gauche-cesconv exits with status 0 on success.
46
48 gauche-package(1), iconv(1)
49
50 The program will be documented fully by the Gauche Developers´
51 Reference available via the info(1) system.
52
54 Shiro Kawai <shiro@acm.org>
55 Author.
56
57 Jens Thiele <karme@karme.de>
58 Wrote this manpage for the Debian system.
59
61 Copyright © 2010 Jens Thiele
62
63 Copying and distribution of this file, with or without modification,
64 are permitted in any medium without royalty provided the copyright
65 notice and this notice are preserved. This file is offered as-is,
66 without any warranty.
67
68
69
70
71Gauche 0.9.12 GAUCHE-CESCONV(1)