Commit Graph

21 Commits

Author SHA1 Message Date
Yves Arrouye
a2e14be391 ICU-1680 add \n
X-SVN-Rev: 7552
2002-02-01 07:41:12 +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
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
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
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
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
021616e5c9 ICU-1220 reformat help to fit in 80 columns
X-SVN-Rev: 7395
2002-01-05 06:33:43 +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
35293cdf9c ICU-1104 add a --default-code option.
X-SVN-Rev: 7383
2002-01-05 00:28:34 +00:00
Yves Arrouye
04e18dad03 ICU-1220 print tags.
X-SVN-Rev: 6748
2001-11-10 08:23:52 +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
3029b7cf1f ICU-1220 add -? for compatibility with other tools
X-SVN-Rev: 6738
2001-11-10 06:01:49 +00:00
Yves Arrouye
a150871504 ICU-1220 add -? for compatibility with other tools
X-SVN-Rev: 6737
2001-11-10 06:00:26 +00:00
George Rhoten
03b8c5bcdd ICU-1220 On EBCDIC platforms the UTF-8 files need the UTF-8 BOM.
X-SVN-Rev: 6647
2001-11-06 23:21:02 +00:00
Yves Arrouye
b5aae87f9e ICU-1220 Better help format. Removed releaseBuffer() calls.
X-SVN-Rev: 5860
2001-09-21 00:30:25 +00:00
Yves Arrouye
93c74c852b ICU-1220 Added uconv as an extra (Unix only for now).
X-SVN-Rev: 5825
2001-09-19 23:43:16 +00:00