Hi Uri,

On Saturday 07 May 2011 18:10:43 Uri Guttman wrote:
> >>>>> "SF" == Shlomi Fish <[email protected]> writes:
>   SF> Just a question - how well can read_file and their friends handle
>   SF> encodings/character-sets? Reading a file using binmode $fh,
>   SF> ":encoding(utf-8)" (or whatever) would be a major dealbreaker for
>   SF> me (and many other people), because I cannot assume that the data
>   SF> that a file reads is in 8-bit binary data. See:
> 
> there is a binmode option that lets you set any value binmode can
> handle. there is a test for utf8 files that works. anything else is up
> to the caller to manage.
> 

OK, thanks for the info, and for taking this important aspect into 
consideration. Sorry for not looking in the docs before I asked.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Humanity" - Parody of Modern Life - http://shlom.in/humanity

You name it - COBOL does not have it.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to