Skip to content

Commit

Permalink
Merge pull request #4137 from geoadmin/fix-BGDIINF_SB-2794-rss-encoding
Browse files Browse the repository at this point in the history
BGDIINF_SB-2794: rss fixing binary bug in content
  • Loading branch information
rebert authored Feb 22, 2023
2 parents 760b4e9 + 7f79d04 commit 350fc5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/rssFeedGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def extract_data(r):

def data_to_description(data):
description = data.encode('ascii', 'ignore')
description = description.decode('utf-8')
return description

if __name__ == '__main__':
Expand Down

0 comments on commit 350fc5a

Please sign in to comment.