#4452 closed (fixed)
Unicode error in the syndication system
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.syndication | Version: | dev |
Severity: | Keywords: | unicode-branch | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
First of all, Idon't know if the component is RSS framework, I don't know if it's the same as "Syndication feeds", I guess so.
I'm serving an atom feed, and I got problems with the following line:
subtitle = u"Melón"
The codification is wrong, but with the next line I get an error:
subtitle = "Melón"
Error:'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)
Probably it's because the framework doesn't check the codification before trying to convert it to unicode. I don't know, actually I didn't check the code yet. A matter of time.
Change History (3)
comment:1 by , 17 years ago
Keywords: | unicode-branch added; unicode ascii syndication subtitle decode removed |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has been fixed on the UnicodeBranch already.
I'll close this ticket once that branch has been merged into trunk, but in the meantime using (and testing) that branch is encouraged.