Nicolas Schier wrote:
> Enable UTF-8 compatible processing of input and output to correctly output 
> e.g.
> timestamps containing non-latin letters (cp. [1]).

> +# Ensure that text read or printed are converted from/to UTF-8.
> +binmode STDIN, ':utf8';
> +binmode STDOUT, ':utf8';
> +binmode STDERR, ':utf8';

What if the input is not valid utf8? What if the user's locale is not
utf8 and the timestamp contains a character that is not utf8?

-- 
see shy jo

Attachment: signature.asc
Description: PGP signature

Reply via email to