Change 15170 by jhi@alpha on 2002/03/11 13:04:25

        Document what to do if one yearns back to
        the old legacy encoding.

Affected files ...

.... //depot/perl/lib/encoding.pm#16 edit

Differences ...

==== //depot/perl/lib/encoding.pm#16 (text) ====
Index: perl/lib/encoding.pm
--- perl/lib/encoding.pm.~1~    Mon Mar 11 06:15:05 2002
+++ perl/lib/encoding.pm        Mon Mar 11 06:15:05 2002
@@ -100,6 +100,10 @@
 is consulted.  If that fails, "latin1" (ISO 8859-1) is assumed.  If no
 encoding can be found, C<Unknown encoding '...'> error will be thrown.
 
+Note if you want to get back to the original byte encoding, you need
+to use things like I/O with encoding discplines (see L<open>) or the
+Encode module, since C<no encoding> (or re-C<encoding>) do not work.
+
 =head1 KNOWN PROBLEMS
 
 For native multibyte encodings (either fixed or variable length)
@@ -107,6 +111,7 @@
 recoding errors for longer regular expression literals than 127 bytes.
 
 The encoding pragma is not supported on EBCDIC platforms.
+(Porters wanted.)
 
 =head1 SEE ALSO
 
End of Patch.

Reply via email to