
dankogai at dan
Nov 26, 2009, 2:06 AM
Post #1 of 1
(203 views)
Permalink
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Folks, I just release Encode 2.39. The biggest differnce is that now decode('utf8', $malformed, sub{ ... }) works like the rest of UCM-Based encodings. Since encode('utf8', $utf8) always works, I overlooked the need for fallback. But decode('utf8', $bytes) may fail if $bytes are malformed so fallback callback is useful in such cases. cf: http://rt.cpan.org/Ticket/Display.html?id=51204 http://kawa.at.webry.info/200911/article_12.html (Japanese) kawanet++ =head1 Availability svn co http://svn.coderepos.org/share/lang/perl/Encode/trunk git clone git://github.com/dankogai/p5-encode.git http://www.dan.co.jp/~dankogai/cpan/Encode-2.39.tar.gz and CPAN near you. =head1 CPAN Index User: DANKOGAI (Dan Kogai) Distribution file: Encode-2.39.tar.gz Number of files: 203 *.pm files: 26 README: Encode-2.39/README META.yml: Encode-2.39/META.yml YAML-Parser: YAML::XS 0.32 META-driven index: no Timestamp of file: Thu Nov 26 09:31:02 2009 UTC Time of this run: Thu Nov 26 09:32:39 2009 UTC =head1 Changes $Revision: 2.39 $ $Date: 2009/11/26 09:23:59 $ ! Encode.xs t/fallback.t $utf8 = decode('utf8', $malformed, sub{ ... }) # now works! http://rt.cpan.org/Ticket/Display.html?id=51204 ! t/CJKT.t t/guess.t t/perlio.t $ENV{'PERL_CORE'} tricks removed since they are no longer necessary. Message-Id: <20091116161513.GA25556 [at] bestpractical> =head1 AUTHOR Dan the Encode Maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAksOUxMACgkQErJia/WXtBuxTACfber33XNQpFhws6TEQiie4rMW NvYAnjDNhKoz2sAJRv6HOwaKKjnwa1j5 =OO5I -----END PGP SIGNATURE-----
|