NAME
IETF::ACE - Perl extension for IETF IDN WG ACE character conversions
SYNOPSIS
use IETF::ACE qw / ... /;
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
Sample Program
use strict;
use diagnostics;
use Unicode::String qw / utf8 /;
use IETF::ACE qw / &UCS4toRACE /;
my $TheIn="ábcde"; # .com
my $TheUCS4 = utf8($TheIn)->ucs4;
my $TheOut = &UCS4toRACE($TheUCS4);
print <<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, ActiveMessage, Inc. james@rf.net
SEE ALSO
perl.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 612:
Non-ASCII character seen before =encoding in '$TheIn="ábcde";'. Assuming UTF-8