tickets: 8300
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8300 | 2008-08-13 23:13:52 | 2009-02-25 19:51:44 | 2022-03-06 03:41:53.262410 | Unreviewed | closed | contrib.syndication | dev | duplicate | feedgenerator shouldn't use ascii to decode dates | if i use some locale like '''tr_TR.UTF-8''' or any other locale, a date for the rss feed could be '''"10 Ağu"''' instead of '''"10 Aug"'''.. Therefore, I get the following error messages: UnicodeDecodeError at /feeds/latest/[[BR]] 'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128) I think all decoding should be done using utf-8 instead of ascii.. And by the way there's a problem in line 241 of feedgenerator.py file: handler.addQuickElement(u"pubDate", rfc2822_date(item['pubdate']).decode('links')) 'links' here should be something like ascii or especially utf-8.. | nobody | alperkanat | 0 | 0 | 0 | 0 | 0 | 0 |