Problem with retaining correct UTF8 encoding on commit

Bug #586292 reported by Märt Põder
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libwww-mediawiki-client-perl (Ubuntu)
Fix Released
Low
Benjamin Mako Hill

Bug Description

Binary package hint: libwww-mediawiki-client-perl

Tried to commit just normal file, but UTF8 wasn't recognised by MediaWiki and all the non ASCII characters were messed up. Needed to patch line 1708 to make it work.

I put

&TEXTAREA_NAME => $text,

instead of

&TEXTAREA_NAME => $octets,

Didn't bother to find out the source of the problem though.

GT

Tags: patch
Revision history for this message
Märt Põder (boamaod) wrote :
tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in libwww-mediawiki-client-perl (Ubuntu):
importance: Undecided → Low
Revision history for this message
Märt Põder (boamaod) wrote :

I'm not sure, but it doesn't seem to be connected. I committed UTF8 file that was downloaded by mvs itself and changed it a bit, before uploading. There were no UTF8 specific page titles involved, as far as I know. Since the patch I did bypasses encoding to UTF8 before upload, I'd say that that files were maybe UTF8-encoded twice and this made all non-ASCII characters in the text invalid. Also, uploading several times made the non-ASCII trash lengthier each time.

Revision history for this message
Benjamin Mako Hill (mako) wrote :

I believe that this bug was fixed in 0.31-2 which was uploaded to Debian in 2011-02-13 and which contained what I am rather sure is a better fix than the attached one to the bug in question. Please try to the new package and reopen this bug if you feel that this issue is not fixed in this package.

Changed in libwww-mediawiki-client-perl (Ubuntu):
assignee: nobody → Benjamin Mako Hill (mako)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.