Skip to content

Commit 65b4f73

Browse files
committed
Fix feed problem for non-ascii names. From Pasi Eronen.
- Legacy-Id: 1449
1 parent d6401f9 commit 65b4f73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/ipr/feeds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def item_pubdate(self, item):
1919
return item.submitted_date
2020
def item_author_name(self, item):
2121
s = item.get_submitter()
22-
if s:
23-
return s.name
22+
if s:
23+
return unicode(s.name, encoding='utf-8', errors='replace')
2424
return None
2525
def item_author_email(self, item):
2626
s = item.get_submitter()

0 commit comments

Comments
 (0)