Subject: | leo script and utf8 terminals |
The leo script does not work very well with utf8-enabled terminals i.e.
umlauts are usually not displayed in the result. I think the easiest way
to fix this is to add
use open OUT => ':locale';
on top of the leo script, which would set the encoding of STDIN and
STDOUT to the charset of the current encoding. open.pm is (according to
Module::CoreList) available for perl 5.6 and newer. For older perls you
should probably disable the usage of open.pm.
It seems that input encoding currently works, that is I can specify
search terms with umlauts per command line or using <STDIN> and both
methods are already working.
Regards,
Slaven