Mercurial > public > sg101
diff gpp/legacy/management/commands/import_old_news_comments.py @ 294:254db4cb6a86
Changes / scripts to import forums. Other tweaks and moving other import scripts to the legacy application.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 05 Jan 2011 04:09:35 +0000 |
parents | 2367c4795c92 |
children | 4021ea1045f7 |
line wrap: on
line diff
--- a/gpp/legacy/management/commands/import_old_news_comments.py Wed Dec 29 04:56:53 2010 +0000 +++ b/gpp/legacy/management/commands/import_old_news_comments.py Wed Jan 05 04:09:35 2011 +0000 @@ -118,7 +118,7 @@ self.md_writer.reset() if not isinstance(s, unicode): - s = s.decode('utf-8', 'replace') + s = s.decode('latin-1', 'replace') self.md_writer.feed(s) return self.md_writer.markdown()