-
Notifications
You must be signed in to change notification settings - Fork 292
/
Registry.pod6
39 lines (25 loc) 路 993 Bytes
/
Registry.pod6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
=begin pod
=TITLE class Encoding::Registry
=SUBTITLE Holds available encodings, and allows extensions.
class Encoding::Registry { ... }
C<Encoding::Registry> is initialized with a list of encoding that is
available for any Perl聽6 application, namely:
=item C<utf8>
=item C<utf8-c8>
=item Cutf16>
=item C<utf32>, C<utf-32>
=item C<ascii>
=item C<iso-8859-1>, C<iso_8859-1:1987>, C<iso_8859-1>, C<iso-ir-100', C<latin1>, C<latin-1>, C<csisolatin1>, C<l1>, C<ibm819>, C<cp819>
=item C<windows-1251', C<windows1251>=item C<windows-1252>, C<windows1252')
=item C<windows-932>, C<windows932>
=head1 Methods
=head2 method name
method register(Encoding $enc --> Nil)
Register a new L<Encoding>.
X<|Encoding::Encoder>
X<|Encoding::Decoder>
=head2 method find
method find(Str() $name)
Finds an encoding by their name. Returns an C<Encoding::Encoder> or C<Encoding::Decoder>, depending on what had been registered.
=end pod
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6