Re: utf-8 issue?
Dianne Skoll <[email protected]> Thu, 14 Dec 2017 09:14:12 -0500
| Newsgroups | gmane.mail.mimedefang |
|---|---|
| Organization | Roaring Penguin Software Inc. |
| Message-ID | <[email protected]> |
On Wed, 13 Dec 2017 20:37:36 -0500 "Bill Cole" <[email protected]> wrote: > - return IO::File->new(\ $self->{MBS_Data}, $mode); > + return IO::Scalar->new(\ $self->{MBS_Data}, $mode); This will cause other problems down the line. I suggest you study the section "Byte and Character Semantics" in the perlunicode man page. Modern Perl does let you open a "file" by passing a reference to a scalar; it has built-in in-memory I/O. Regards, Dianne. _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang