RE: encoding(UTF16-LE) on Windows

[email protected] ("Jan Dubois") Fri, 21 Jan 2011 15:04:17 -0800
Newsgroups perl.unicode
Organization ActiveState Software Inc
Message-ID <[email protected]>
I wrote:
> I saw some discussion today that the :raw pseudo-layer in the open()
> call will also remove the buffering layer (it doesn=92t do that when =
you
> use it in a binmode() call). I=92ll try to remember to send a followup
> once I actually understand what is going on.

That seems indeed to be the case right now.  The bug is filed here:

    http://rt.perl.org/rt3//Public/Bug/Display.html?id=3D80764

A workaround is to use ":raw:perlio" instead of ":raw" to turn to
binmode without losing the buffering.

Cheers,
-Jan