Utf8

utf8(3p) Perl Programmers Reference Guide utf8(3p)

Utf8

utf8(3p) Perl Programmers Reference Guide utf8(3p) # utf8(3p) Perl Programmers Reference Guide utf8(3p) NNAAMMEE # utf8 - Perl pragma to enable/disable UTF-8 (or UTF-EBCDIC) in source code SSYYNNOOPPSSIISS # use utf8; no utf8; # Convert the internal representation of a Perl scalar to/from UTF-8. $num_octets = utf8::upgrade($string); $success = utf8::downgrade($string[, $fail_ok]); # Change each character of a Perl scalar to/from a series of # characters that represent the UTF-8 bytes of each original character. ...

UTF8(7) - Miscellaneous Information Manual

Ascii, Locale, Utf8

UTF8(7) - Miscellaneous Information Manual # UTF8(7) - Miscellaneous Information Manual NAME # utf8 - UTF-8 text encoding DESCRIPTION # UTF-8 is a multibyte character encoding for Unicode text. It is the preferred format for non ASCII text. Unicode codepoints are encoded as follows: U+0000 – U+007F: One byte: 0……. (compatible with ASCII) U+0080 – U+07FF: Two bytes: 110….. 10…… U+0800 – U+D7FF and U+E000 – U+FFFF: Three bytes: 1110…. ...