HaveF / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

string literals in the vCard microformat cause decode errors #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Point feedparser at a feed with vCard microformats involving unicode chars
2. Parse the feed

What is the expected output? What do you see instead?
I would expect feedparser to decode the unicode chars correctly

I've attached a diff to this message which corrects the issue and adds a test.

Original issue reported on code.google.com by dcol...@gmail.com on 27 Jun 2011 at 3:45

Attachments:

GoogleCodeExporter commented 9 years ago
This may be fixed in svn trunk. I overhauled the unit tests a few months back 
and added a microformat unicode test for just this reason. Would you download 
the latest code from svn trunk [1] and see if it fixes the issue you're seeing?

[1] https://feedparser.googlecode.com/svn/trunk/feedparser/feedparser.py

Original comment by kurtmckee on 8 Sep 2011 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by kurtmckee on 9 Sep 2011 at 5:28

GoogleCodeExporter commented 9 years ago
Thanks, I will try out svn trunk against the issues I saw.

Original comment by dcol...@gmail.com on 9 Sep 2011 at 5:54

GoogleCodeExporter commented 9 years ago
Have you had an opportunity to test this? If you're still seeing a bug, please 
provide a link or upload a sample feed! :)

Original comment by kurtmckee on 16 Sep 2011 at 2:37

GoogleCodeExporter commented 9 years ago
If you test and find that this is still a problem, just let me know!

Original comment by kurtmckee on 27 Oct 2011 at 4:24