
IETF::ACE - Perl extension for IETF IDN WG ACE character conversions

use IETF::ACE qw / ... /;

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
None by default.

Paul Hoffman, Internet Mail Consortium phoffman@mail.imc.org
James Briggs, ActiveMessage, Inc. james@rf.net

perl.