Fix for "perlio bug in koi8-r encoding". The problem
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 15 Nov 2001 14:35:55 +0000 (14:35 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 15 Nov 2001 14:35:55 +0000 (14:35 +0000)
commited53a2bb7f04bc2b3b8eb8450d6e00842e9d7680
tree10062f2208f919244a92f310db85dea6bcbfd6df
parent313c9f5cdd9c2881025ae80733bae6b0f1cb11f9
Fix for "perlio bug in koi8-r encoding".  The problem
seemed to be that binmode() always flushed the handle,
which is not so good when switching encodings.  Fixed,
added Matt Sergeant's testcase, documented in perlfunc/binmode,
also added a pointer about disciplines to perlfunc/open,
and in general cleaned up and reformatted the open entry.

p4raw-id: //depot/perl@13019
ext/PerlIO/t/encoding.t
perlio.c
pod/perlfunc.pod