View on
MetaCPAN
Sawyer X > perl-5.25.11 > regen/unicode_constants.pl

Download:
perl-5.25.11.tar.bz2

Annotate this POD

Website

Source   Latest Release: perl-5.26.1

Unicode Support ^

This is a macro that evaluates to a string constant of the UTF-8 bytes that define the Unicode BYTE ORDER MARK (U+FEFF) for the platform that perl is compiled on. This allows code to use a mnemonic for this character that works on both ASCII and EBCDIC platforms. sizeof(BOM_UTF8) - 1 can be used to get its length in bytes.

This is a macro that evaluates to a string constant of the UTF-8 bytes that define the Unicode REPLACEMENT CHARACTER (U+FFFD) for the platform that perl is compiled on. This allows code to use a mnemonic for this character that works on both ASCII and EBCDIC platforms. sizeof(REPLACEMENT_CHARACTER_UTF8) - 1 can be used to get its length in bytes.

syntax highlighting: