Closed
Bug 731528
Opened 12 years ago
Closed 12 years ago
Broken character encoding
Categories
(Webtools Graveyard :: BzAPI, defect)
Webtools Graveyard
BzAPI
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: kupiec.w, Assigned: gerv)
Details
Attachments
(1 file)
2.33 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Build ID: 20120216081259 Steps to reproduce: I posted attachment that contains UTF-8 characters in file_name and description Actual results: When I get the attachment back all characters are not encoded correctly. Expected results: I should get my UTF-8 characters Please see attached file for more info.
Assignee | ||
Comment 1•12 years ago
|
||
This appears to be a bug in the URI module, or URI::QueryParam. As I build up the query parameters inside the URI object, previous ones seem to undergo bogus "re-"conversion to UTF-8, which mangles them. You get one reconversion per manipulation, which is a lot! Hence the long garbage strings. I'm afraid I don't have time to debug this further right now :-(( Gerv
Ok, I found out what was the problem. I had to apply this patch: bzapi/patches/xmlrpc-fix.diff It works for me now.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•