Lines Matching refs:UTF

27 utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source code
34 # Convert a Perl scalar to/from UTF-8.
38 # Change the native bytes of a Perl scalar to/from UTF-8 bytes.
47 The C<use utf8> pragma tells the Perl parser to allow UTF-8 in the
48 program text in the current lexical scope (allow UTF-EBCDIC on EBCDIC based
54 in future we would like to standardize on the UTF-8 encoding for
58 script is written in UTF-8.> The utility functions described below are
62 Until UTF-8 becomes the default format for source text, either this
63 pragma or the L</encoding> pragma should be used to recognize UTF-8
64 in the source. When UTF-8 becomes the standard source format, this
66 follows the term I<UTF-X> is used to refer to UTF-8 on ASCII and ISO
67 Latin based platforms and UTF-EBCDIC on EBCDIC based platforms.
79 as being part of a literal UTF-8 character. This includes most
84 treated as being part of a literal UTF-EBCDIC character.
91 UTF-8. If you want to have such bytes and use utf8, you can disable
94 If you want to automatically upgrade your 8-bit legacy bytes to UTF-8,
96 you want to implicitly upgrade your ISO 8859-1 (Latin-1) bytes to UTF-8
110 you should not say that unless you really want to have UTF-8 source code.
117 internal I<UTF-X> form. Returns the number of octets necessary to
118 represent the string as I<UTF-X>. Can be used to make sure that the
119 UTF-8 flag is on, so that C<\w> or C<lc()> work as expected on strings
130 UTF-8 flag is off, e.g. when you want to make sure that the substr()
139 in Perl's I<UTF-X> encoding. Returns nothing. B<Note that this does
140 not change the "type" of I<$string> to UTF-8>, and that this handles
148 Attempts to convert I<$string> in-place from Perl's I<UTF-X> encoding
150 "type" of <$string> from UTF-8>, and that this handles only ISO 8859-1
158 (Since Perl 5.8.1) Test whether STRING is in UTF-8. Functionally
164 UTF-8. Will return true is well-formed UTF-8 and has the UTF-8 flag