character encodings in Perl
The 'Encode' module provides the interface between Perl strings and the
rest of the system. Perl strings are sequences of _characters_.
The repertoire of characters that Perl can represent is a superset of those
defined by the Unicode Consortium. On most platforms the ordinal values of
a character as returned by 'ord(_S_)' is the _Unicode codepoint_ for that
character. The exceptions are platforms where the legacy encoding is some
variant of EBCDIC rather than a superset of ASCII; see the perlebcdic
manpage.
During recent history, data is moved around a computer in 8-bit chunks,
often called "bytes" but also known as "octets" in standards documents.
Perl is widely used to manipulate data of many types: not only strings of
characters representing human or computer languages, but also "binary"
data, being the machine's representation of numbers, pixels in an image, or
just about anything.
When Perl is processing "binary data", the programmer wants Perl to process
"sequences of bytes". This is not a problem for Perl: because a byte has
256 possible values, it easily fits in Perl's much larger "logical
character".
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/perl-Encode && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Encode-3.21.tar.gz | 0002086738 1.99 MB | |
cpanspec.yml | 0000000931 931 Bytes | |
perl-Encode-rpmlintrc | 0000000117 117 Bytes | |
perl-Encode.changes | 0000009843 9.61 KB | |
perl-Encode.spec | 0000004119 4.02 KB |
Latest Revision
- Fix disabling of __perllib_provides
Comments 0