Encode - character encodings

Edit Package perl-Encode

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".

Refresh
Refresh
Source Files
Filename Size Changed
Encode-2.33.tar.gz 0002001566 1.91 MB
perl-Encode.spec 0000003128 3.05 KB
Revision 1 (latest revision is 2)
Holger Manthey's avatar Holger Manthey (csbuild) committed (revision 1)
baseline
Comments 0
openSUSE Build Service is sponsored by