class Encoding::Registry {}
Encoding::Registry
is initialized with a list of encoding that is
available for any Raku application, namely:
utf8
utf8-c8
utf16
utf16le
utf16be
utf32
, utf-32
ascii
iso-8859-1
, iso_8859-1:1987
, iso_8859-1
, iso-ir-100
, latin1
, latin-1
, csisolatin1
, l1
, ibm819
, cp819
windows-1251
windows-1252
windows-932
Methods
method name
method register(Encoding $enc --> Nil)
Register a new Encoding.
method find
method find(Str() $name)
Finds an encoding by its name. Returns an Encoding::Encoder
or
Encoding::Decoder
, depending on what had been registered.
See Also
class AST
Abstract representation of a piece of source code
class atomicint
Integer (native storage at the platform's atomic operation size)
class Collation
Encapsulates instructions about how strings should be sorted
class Cool
Object that can be treated as both a string and number
class ForeignCode
Rakudo-specific class that wraps around code in other languages (generally NQP)
class Format
Convert values to a string given a format specification
class HyperSeq
An object for performing batches of work in parallel with ordered
output
class Mu
The root of the Raku type hierarchy.
class Nil
Absence of a value or a benign failure
class Proxy
Item container with custom storage and retrieval
class RaceSeq
Performs batches of work in parallel without respecting original
order.
class Rat
Rational number (limited-precision)
class Routine
Code object with its own lexical scope and return handling
class Scalar
A mostly transparent container used for indirections
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.