Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Text-MediawikiFormat CPAN distribution.

Report information
The Basics
Id: 26880
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: Text-MediawikiFormat

People
Owner: derek [...] ximbiot.com
Requestors: samlowry [...] e-baka.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.04
  • 0.05
Fixed in: (no value)



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; }
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.