NAME
IETF::ACE - Perl extension for IETF IDN WG ACE character conversions
SYNOPSIS
DESCRIPTION
IETF::ACE - Perl extension for IETF IDN WG ACE character conversions
Subroutines
UCS4toName
UCS4toUPlus
UTF5toUCS4
GetCharFromUTF5
UCS4toRACE
RACEtoUCS4
UCS4toLACE
LACEtoUCS4
Base32Encode
Base32Decode
CheckForSTD13Name
CheckForBadSurrogates
HexOut
DebugOn
DebugOff
DebugOut
The formats are:
utf8
utf16
ucs4
utf5 from draft-jseng-utf5-01.txt
race draft-ietf-idn-race-03.txt
lace draft-ietf-idn-lace-01.txt
name The character names; output only
u+ The character
hex
values
in U+ notation; output only
Example
use
strict;
use
diagnostics;
my
$TheIn
=
"ábcde"
;
# .com
my
$TheUCS4
= utf8(
$TheIn
)->ucs4;
my
$TheOut
=
&UCS4toRACE
(
$TheUCS4
);
<<EOD;
Latin1 Input =
$TheIn
.com
RACE Output =
$TheOut
.com
EOD
EXPORT
None by default.
AUTHOR
Paul Hoffman, Internet Mail Consortium phoffman@mail.imc.org
James Briggs james.briggs@yahoo.com
SEE ALSO
None.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 625:
Non-ASCII character seen before =encoding in '$TheIn="ábcde";'. Assuming UTF-8