1MSGCONV(1) User Commands MSGCONV(1)
2
3
4
6 msgconv - character set conversion for message catalog
7
9 msgconv [OPTION] [INPUTFILE]
10
12 Converts a translation catalog to a different character encoding.
13
14 Mandatory arguments to long options are mandatory for short options
15 too.
16
17 Input file location:
18 INPUTFILE
19 input PO file
20
21 -D, --directory=DIRECTORY
22 add DIRECTORY to list for input files search
23
24 If no input file is given or if it is -, standard input is read.
25
26 Output file location:
27 -o, --output-file=FILE
28 write output to specified file
29
30 The results are written to standard output if no output file is speci‐
31 fied or if it is -.
32
33 Conversion target:
34 -t, --to-code=NAME
35 encoding for output
36
37 The default encoding is the current locale's encoding.
38
39 Input file syntax:
40 -P, --properties-input
41 input file is in Java .properties syntax
42
43 --stringtable-input
44 input file is in NeXTstep/GNUstep .strings syntax
45
46 Output details:
47 --color
48 use colors and other text attributes always
49
50 --color=WHEN
51 use colors and other text attributes if WHEN. WHEN may be 'al‐
52 ways', 'never', 'auto', or 'html'.
53
54 --style=STYLEFILE
55 specify CSS style rule file for --color
56
57 -e, --no-escape
58 do not use C escapes in output (default)
59
60 -E, --escape
61 use C escapes in output, no extended chars
62
63 --force-po
64 write PO file even if empty
65
66 -i, --indent
67 indented output style
68
69 --no-location
70 suppress '#: filename:line' lines
71
72 -n, --add-location
73 preserve '#: filename:line' lines (default)
74
75 --strict
76 strict Uniforum output style
77
78 -p, --properties-output
79 write out a Java .properties file
80
81 --stringtable-output
82 write out a NeXTstep/GNUstep .strings file
83
84 -w, --width=NUMBER
85 set output page width
86
87 --no-wrap
88 do not break long message lines, longer than the output page
89 width, into several lines
90
91 -s, --sort-output
92 generate sorted output
93
94 -F, --sort-by-file
95 sort output by file location
96
97 Informative output:
98 -h, --help
99 display this help and exit
100
101 -V, --version
102 output version information and exit
103
105 Written by Bruno Haible.
106
108 Report bugs in the bug tracker at <https://savan‐
109 nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
110
112 Copyright © 2001-2022 Free Software Foundation, Inc. License GPLv3+:
113 GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
114 This is free software: you are free to change and redistribute it.
115 There is NO WARRANTY, to the extent permitted by law.
116
118 The full documentation for msgconv is maintained as a Texinfo manual.
119 If the info and msgconv programs are properly installed at your site,
120 the command
121
122 info msgconv
123
124 should give you access to the complete manual.
125
126
127
128GNU gettext-tools 0.21.1 October 2022 MSGCONV(1)