Encode - character encodings
The Encode module provides the interfaces between Perl's strings and the rest of the system. Perl strings are sequences of characters.
The repertoire of characters that Perl can represent is at least that defined by the Unicode Consortium. On most platforms the ordinal values of the characters (as returned by ord(ch)) is the "Unicode codepoint" for the character (the exceptions are those platforms where the legacy encoding is some variant of EBCDIC rather than a super-set of ASCII - see perlebcdic).
Traditionally, computer data has been moved around in 8-bit chunks often called "bytes". These chunks are also known as "octets" in networking standards. 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 - as a byte has 256 possible values, it easily fits in Perl's much larger "logical character".
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:csbuild:Perl/perl-Encode && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Encode-2.33.tar.gz | 0002001566 1.91 MB | |
perl-Encode.spec | 0000003357 3.28 KB |
Latest Revision
remove x-flag
Comments 0