>>>>> "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.

uri

-- 
Uri Guttman  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

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

Reply via email to