… | |
… | |
54 | } |
54 | } |
55 | |
55 | |
56 | open my $fh, ">lib/AnyEvent/Util/uts46data.pl" |
56 | open my $fh, ">lib/AnyEvent/Util/uts46data.pl" |
57 | or die; |
57 | or die; |
58 | binmode $fh, ":perlio"; |
58 | binmode $fh, ":perlio"; |
59 | print $fh "# created by gen_uts46data\n"; |
59 | print $fh "# autogenerated by util/gen_uts46data\n"; |
60 | |
60 | |
61 | utf8::encode $imap; |
61 | utf8::encode $imap; |
62 | 0 > index $imap, "\x02" # it's not supposed to be anywhere in there |
62 | 0 > index $imap, "\x02" # it's not supposed to be anywhere in there |
63 | or die "imap contains \\x02"; |
63 | or die "imap contains \\x02"; |
64 | print $fh "\$uts46_imap = q\x02$imap\x00\x02;\n"; |
64 | print $fh "\$uts46_imap = q\x02$imap\x00\x02;\n"; |