Commit Graph

50 Commits

Author SHA1 Message Date
Steven R. Loomis
1875b3fdbc ICU-7672 remove deprecated calls in uconv, also fix manpage warnings.
X-SVN-Rev: 28021
2010-05-05 16:35:39 +00:00
George Rhoten
addda0d1ae ICU-4286 update the uconv documentation.
X-SVN-Rev: 18125
2005-07-01 21:05:21 +00:00
Markus Scherer
7fda77e8b2 ICU-2983 add/remove signature (BOM)
X-SVN-Rev: 14209
2003-12-22 19:23:17 +00:00
Steven R. Loomis
eaf899cbcb ICU-2479 uconv documentation
X-SVN-Rev: 10775
2002-12-20 23:20:15 +00:00
Yves Arrouye
9acbb79cb3 ICU-601 remove emails
X-SVN-Rev: 8196
2002-03-22 09:31:39 +00:00
Yves Arrouye
c1db2f0638 ICU-1220 replace <control-000A> by LINE FEED in the examples.
X-SVN-Rev: 7770
2002-02-25 09:11:34 +00:00
Yves Arrouye
1fa2aa47e1 ICU-1220 add paragraph on relationship between uconv, iconv(1),
and the GNU iconv(1).
Add CAVEATS AND BUGS section to warn against differences in error positions
reporting between uconv and GNU iconv(1), and to document the poor job we
do at reporting error positions when transliterating.

X-SVN-Rev: 7762
2002-02-25 06:45:05 +00:00
Yves Arrouye
243f394f83 ICU-1220 update date."
X-SVN-Rev: 7699
2002-02-16 22:13:23 +00:00
Yves Arrouye
904c2cc397 ICU-1220 use \e for backslash.
X-SVN-Rev: 7698
2002-02-16 22:11:01 +00:00
Yves Arrouye
ca23adfbcc ICU-1220 use \e for backslash.
X-SVN-Rev: 7697
2002-02-16 22:09:56 +00:00
Yves Arrouye
2919f7cb30 ICU-1220 use \e for backslash.
X-SVN-Rev: 7696
2002-02-16 22:09:02 +00:00
Yves Arrouye
40295b3306 ICU-1220 Fixed calculation of error positions when a transliterator
is used.
Added an EXAMPLES section to show non-trivial uses of uconv.

X-SVN-Rev: 7695
2002-02-16 22:07:19 +00:00
Yves Arrouye
6f2c114b83 ICU-1220 allows - for -f and -t (same as not giving them).
more documentation.
changed some error messages.

X-SVN-Rev: 7694
2002-02-16 18:45:11 +00:00
Yves Arrouye
0c98108e83 ICU-1220 make the -f and -t arguments optional,
and use the default encoding if they're not specified (I am split
on this between the default encoding and UTF-8). This allows one
to quickly use transliterators without having to pass these options.

X-SVN-Rev: 7693
2002-02-16 09:15:06 +00:00
Yves Arrouye
161c2863a7 ICU-1220 support IDs and compound IDs, but also complex rules in the -x
argument.

X-SVN-Rev: 7688
2002-02-16 07:43:26 +00:00
Yves Arrouye
fa6f2efdd4 ICU-1220 full path to uconvmsg.dat in FILES section.
X-SVN-Rev: 7553
2002-02-01 07:42:54 +00:00
Yves Arrouye
0a2d80ea82 ICU-1220 make escape-xml the same as escape-xml-hex by default instead
of escape-xml-dec.

X-SVN-Rev: 7551
2002-02-01 07:39:57 +00:00
Yves Arrouye
4e495c5080 ICU-1680 document compound translitearors.
X-SVN-Rev: 7550
2002-02-01 07:35:25 +00:00
Yves Arrouye
f56fb8ddba ICU-1680 Fix crash with transliterators that were exceeding the
buffer size.
Also, improve speed a bit.
Finally, add a -b, --block-size size option, which not only is useful
for Real People(tm) wanting a bigger buffer size, but also great for
testing that everything runs smoothly by using -b 1 for example.

X-SVN-Rev: 7548
2002-01-31 22:44:42 +00:00
Yves Arrouye
deb6585652 ICU-1605 for UCNV_ESCAPE_UNICODE, print the codepoint, not the pair of
code units. Also, delimit the U+XXXX with curly braces for now.

X-SVN-Rev: 7514
2002-01-28 18:47:35 +00:00
Yves Arrouye
2c4beaea3b ICU-1220 manpage update.
X-SVN-Rev: 7477
2002-01-23 17:13:53 +00:00
Yves Arrouye
a04a8e4fd5 ICU-601 quoting to get proper spacing.
X-SVN-Rev: 7463
2002-01-18 19:45:44 +00:00
Yves Arrouye
e39234616f ICU-1220 documented --version.
X-SVN-Rev: 7457
2002-01-17 21:12:24 +00:00
Yves Arrouye
4b8a7e80ac ICU-1220 meant i.e. but wrote e.g.
X-SVN-Rev: 7427
2002-01-10 03:32:31 +00:00
Yves Arrouye
ca88544452 ICU-1220 Report position at which errors occur.
Fix memory dumps in messages by explicetly adding U+0000 at the end of the
strings that we getBuffer() to u_wmsg().
Add --fallback and --no-fallback options to control use of fallback.

X-SVN-Rev: 7421
2002-01-09 20:42:19 +00:00
Yves Arrouye
a4d79a59a0 ICU-1220 destroyed formatting in the callbacks section. fixed.
X-SVN-Rev: 7419
2002-01-09 01:40:52 +00:00
Yves Arrouye
b68db05114 ICU-1220 more info on callbacks.
X-SVN-Rev: 7418
2002-01-09 01:34:45 +00:00
Yves Arrouye
5327e8c843 ICU-1220 typo, vocabulary.
X-SVN-Rev: 7417
2002-01-09 01:32:17 +00:00
Yves Arrouye
12be335ada ICU-1220 many files can now be transcoded at the same time. I was
tempted to let one do uconv -t utf-8 -f latin1 file1 -f euc-jp file2 so
that many files of various encodings could be converted at the same time
to a single encoding, but will do that later after cleaning up the sloppy
way I enabled multiple files for today.

X-SVN-Rev: 7416
2002-01-09 01:31:14 +00:00
Yves Arrouye
3b470abbe3 ICU-1220 Added escape-codepoint as a callback to let people use the
new UCNV_ESCAPE_CODEPOINT.
Options compatibility with iconv(1): added -V, --version; -s, --silent;
--verbose (and -v because of ICU commands); -o, --output file. uconv(1) is
now mostly compatible with iconv(1) usage, except for the fact that one
cannot convert many files in one run yet.

X-SVN-Rev: 7414
2002-01-09 01:04:32 +00:00
Yves Arrouye
58dfa37afb ICU-1220 sorry, changed \\ to \e.
X-SVN-Rev: 7408
2002-01-08 03:29:36 +00:00
Yves Arrouye
72a06de4e9 ICU-1220 oops. use UCNV_ESCAPE_XML_HEX for escape-xml-hex!
X-SVN-Rev: 7407
2002-01-08 03:23:53 +00:00
Yves Arrouye
550c0e205e ICU-1220 more manual update (thanks ispell).
X-SVN-Rev: 7406
2002-01-08 03:05:49 +00:00
Yves Arrouye
5774a07092 ICU-1220 more manual update.
X-SVN-Rev: 7405
2002-01-08 03:03:55 +00:00
Yves Arrouye
c62d7f20bb ICU-1220 uconv now supports setting callbacks in both directions; see
the manual page, or call uconv -h to have a list (though the manual
page also has explanations for the different callbacks).

X-SVN-Rev: 7403
2002-01-08 02:34:33 +00:00
Yves Arrouye
e0a7eb8731 ICU-1220 added iconv-compatibility option -c, and added -i for input
X-SVN-Rev: 7400
2002-01-07 21:35:54 +00:00
Yves Arrouye
4004c78ee9 ICU-1220 added iconv-compatibility option -c, and added -i for input
X-SVN-Rev: 7399
2002-01-07 21:34:41 +00:00
Yves Arrouye
b2b5b7ff96 ICU-1220 if --canon is used with -L, --list-transliterators, print only
one name per line (makes grepping very easy).
Ensure that we can handle transliterators names of arbitrary length (as
big as memory will allow).

X-SVN-Rev: 7398
2002-01-07 21:05:30 +00:00
Yves Arrouye
4cd24e1a9f ICU-1220 better documentation of the transliteration.
X-SVN-Rev: 7397
2002-01-07 20:48:36 +00:00
Yves Arrouye
691fa3912c ICU-1220 implemented -L, --list-transliterators.
made the -x transliterator option work.
updated manual page and resource bundle to reflect that.

X-SVN-Rev: 7396
2002-01-07 20:45:00 +00:00
Yves Arrouye
ef243d3b7d ICU-1104 add a --list-code code option to generalize the --default-code
one. A good use of this option is to know if a given name is valid, by
calling 'uconv --list-code name 2>/dev/null' and checking for the exit
code. Maybe a -q option is in order to make that easier.

X-SVN-Rev: 7386
2002-01-05 01:08:01 +00:00
Yves Arrouye
80b6bd8d53 ICU-1104 add a --default-code option.
X-SVN-Rev: 7385
2002-01-05 00:42:27 +00:00
Yves Arrouye
c05e8166f7 ICU-1104 add a --default-code option.
X-SVN-Rev: 7384
2002-01-05 00:42:05 +00:00
Yves Arrouye
35293cdf9c ICU-1104 add a --default-code option.
X-SVN-Rev: 7383
2002-01-05 00:28:34 +00:00
Yves Arrouye
867b0c9cc8 ICU-1220 print tags.
X-SVN-Rev: 6747
2001-11-10 07:25:59 +00:00
Yves Arrouye
aecb038cf5 ICU-1220 renamed option -c to be used together with -l.
always print aliases names

X-SVN-Rev: 6746
2001-11-10 07:01:29 +00:00
Yves Arrouye
78f86d2bfd ICU-1220 added a --list-converters option.
X-SVN-Rev: 6743
2001-11-10 06:52:25 +00:00
Yves Arrouye
0ad967b412 ICU-1220 document that -L isn't implemented.
X-SVN-Rev: 6742
2001-11-10 06:18:37 +00:00
Yves Arrouye
9fadd80f32 ICU-1220 document that -L isn't implemented.
X-SVN-Rev: 6741
2001-11-10 06:18:16 +00:00
Yves Arrouye
22e2e9c1ba ICU-1220 added a manual page for uconv.
X-SVN-Rev: 6740
2001-11-10 06:14:46 +00:00