Apache-RSS
view release on metacpan or search on metacpan
lib/Apache/RSS/Encoding/JcodeUTF8.pm view on Meta::CPAN
# IKEBE Tomohiro <ikebe@edge.co.jp>
# Livin' On The EDGE, Limited.
# Time-stamp: <2002-05-30 22:20:38 miyagawa>
use strict;
use Jcode;
use base qw(Apache::RSS::Encoding);
sub encode {
my($self, $str) = @_;
return Jcode->new(\$str)->utf8;
}
1;
__END__
=head1 NAME
Apache::RSS::Encoding::JcodeUTF8 - encode Japanese <title>..</title> string to utf8.
=head1 SYNOPSIS
RSSScanHTMLTitle On
RSSEncodeHandler Apache::RSS::Encoding::JcodeUTF8
=head1 DESCRIPTION
Apache::RSS HTML encoding Handler.
encode Japanese charset to UTF-8. using L<Jcode>.
( run in 1.095 second using v1.01-cache-2.11-cpan-49f99fa48dc )