diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-18 15:13:57 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-18 15:13:57 +0000 |
commit | ae90e350a48eda38ca3091c1032a6e477a3e8a31 (patch) | |
tree | 0e893787dfc035fa5866d79c65c5eecd1fef451c /lib | |
parent | 49443a76394370a12726dcdd4d148906f7edbd4c (diff) | |
download | perl-ae90e350a48eda38ca3091c1032a6e477a3e8a31.tar.gz |
Document how "no utf8;" can become handy.
p4raw-id: //depot/perl@13070
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utf8.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/utf8.pm b/lib/utf8.pm index cb1968636f..86456d5f34 100644 --- a/lib/utf8.pm +++ b/lib/utf8.pm @@ -63,6 +63,12 @@ UTF-EBCDIC character. =back +Note that if you have bytes with the eighth bit on in your script +(for example embedded Latin-1 in your string literals), C<use utf8> +will be unhappy since the bytes are most probably not well-formed +UTF-8. If you want to have such bytes and use utf8, you can disable +utf8 until the end the block (or file, if at top level) by C<no utf8;>. + =head2 Utility functions The following functions are defined in the C<utf8::> package by the perl core. |