Dear Evgeny,
> With this change, it will print a warning if the input is not valid
> UTF-8:
>
> $ echo $'\xff' | ./ts
> utf8 "\xFF" does not map to Unicode at ./ts line 95.
> янв 22 16:55:35 \xFF
>
> I don't know whether it's a serious problem, but I think that it's
> better to
On 22.01.2016 09:01, Nicolas Schier wrote:
Dear Evgeny,
I can get rid of the 'Wide character...' warning by adding the line
use open ':locale';
(cp. attached patch). Could you please check whether this is
sufficient for you? Unfortunately, the 'ts -r' does not work for
ru_RU.*...
could you please supply your locale settings (the output of 'locale')
and an example of a 'ts' output line?
$ locale
LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
Dear Evgeny,
I can get rid of the 'Wide character...' warning by adding the line
use open ':locale';
(cp. attached patch). Could you please check whether this is
sufficient for you? Unfortunately, the 'ts -r' does not work for
ru_RU.*...
Kind regards,
Nicolas
diff --git a/ts b/ts
Dear Evgeny,
> After I upgraded Perl to version 5.22, ts started printing a warning
> before every line, like this:
>
> Wide character in print at /usr/bin/ts line 126, <> line 1.
could you please supply your locale settings (the output of 'locale')
and an example of a 'ts' output line?
Package: moreutils
Version: 0.57-1
After I upgraded Perl to version 5.22, ts started printing a warning before
every line, like this:
Wide character in print at /usr/bin/ts line 126, <> line 1.
This is annoying.
6 matches
Mail list logo