Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 181561 Details for
Bug 252705
dev-python/feedparser-4.1 - UnicodeDecodeError
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
feedparser-4.1-utf8-decoding.patch
feedparser-4.1-utf8-decoding.patch (text/plain), 676 bytes, created by
Greg Fitzgerald
on 2009-02-10 18:45:10 UTC
(
hide
)
Description:
feedparser-4.1-utf8-decoding.patch
Filename:
MIME Type:
Creator:
Greg Fitzgerald
Created:
2009-02-10 18:45:10 UTC
Size:
676 bytes
patch
obsolete
>--- feedparser.py 2009-02-10 13:31:15.000000000 -0500 >+++ feedparser.py.new 2009-02-10 13:31:39.000000000 -0500 >@@ -1455,7 +1455,7 @@ > # thanks to Kevin Marks for this breathtaking hack to deal with (valid) high-bit attribute values in UTF-8 feeds > for key, value in attrs: > if type(value) != type(u''): >- value = unicode(value, self.encoding) >+ value = unicode(value, self.encoding, errors='replace') > uattrs.append((unicode(key, self.encoding), value)) > strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs]).encode(self.encoding) > if tag in self.elements_no_end_tag:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252705
:
176522
| 181561 |
181562