Wed May 02 05:42:52 2007samlowry [...] e-baka.net - Ticket created
Subject:
bug with uri_escape
Date:
Wed, 2 May 2007 16:42:37 +0700
To:
bug-Text-MediawikiFormat [...] rt.cpan.org
From:
samlowry <samlowry [...] e-baka.net>
Distribution: Text-MediawikiFormat-0.05
Perl: v5.8.7 built for i586-linux-thread-multi
When parsing articles from it.wikipedia.org I got error with uri_escape with
recommendation use uri_escape_utf8.
I made temporary fix in my script:
use Text::MediawikiFormat;
{
no strict 'refs';
no warnings;
*{'Text::MediawikiFormat::uri_escape'} = \&URI::Escape::uri_escape_utf8;
}
Tue Jun 17 17:49:25 2008derek [...] ximbiot.com - Taken
Tue Jun 17 17:50:53 2008derek [...] ximbiot.com - Correspondence added120 min
I've fixed this by adding a charset option which defaults to 'utf-8'.
For non-utf-8 charsets, the fallback is to uri_encode. This will be
released with 0.07.
Tue Jun 17 17:51:01 2008The RT System itself - Status changed from 'new' to 'open'
Tue Jun 17 17:51:02 2008derek [...] ximbiot.com - Status changed from 'open' to 'resolved'
Tue Jun 17 17:51:46 2008derek [...] ximbiot.com - Broken in 0.01 added
Tue Jun 17 17:51:46 2008derek [...] ximbiot.com - Broken in 0.02 added
Tue Jun 17 17:51:46 2008derek [...] ximbiot.com - Broken in 0.03 added
Tue Jun 17 17:51:46 2008derek [...] ximbiot.com - Broken in 0.04 added
Tue Jun 17 17:51:46 2008derek [...] ximbiot.com - Broken in 0.05 added
Tue Jun 17 17:51:46 2008derek [...] ximbiot.com - Severity Normal added