This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlguts: Add EBCDIC info
authorKarl Williamson <khw@cpan.org>
Thu, 7 May 2015 03:02:16 +0000 (21:02 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 7 May 2015 23:32:47 +0000 (17:32 -0600)
pod/perlguts.pod

index 3e4c548..50fd606 100644 (file)
@@ -2800,6 +2800,12 @@ characters, and the one Perl uses is called UTF-8.  UTF-8 uses
 a variable number of bytes to represent a character.  You can learn more
 about Unicode and Perl's Unicode model in L<perlunicode>.
 
+(On EBCDIC platforms, Perl uses instead UTF-EBCDIC, which is a form of
+UTF-8 adapted for EBCDIC platforms.  Below, we just talk about UTF-8.
+UTF-EBCDIC is like UTF-8, but the details are different.  The macros
+hide the differences from you, just remember that the particular numbers
+and bit patterns presented below will differ in UTF-EBCDIC.)
+
 =head2 How can I recognise a UTF-8 string?
 
 You can't.  This is because UTF-8 data is stored in bytes just like