Loïc Minier wrote:
>  I could not find a way to get the encoding of a locale reliably, so
>  perhaps you can use is_utf8 && decode_utf8 for all strings before
>  outputting them?

The entire point of use open qw{:utf8 :std} is to avoid having to
manually encode every single string that the program outputs.

This seems to be basically a bug in perl, that it provides no way to use
utf8 for all IO if you also want to use $!, $@ or other variables of
this sort, since its utf8 support does not include converting those
values to utf8.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to