Skip to content

Commit

Permalink
Sitecustomize.py turns your local NewsBlur installation into a UTF-8 …
Browse files Browse the repository at this point in the history
…capable installation. Necessary if you want feeds that use UTF-8. Just make sure your newsblur directory is in your PYTHONPATH.
  • Loading branch information
samuelclay committed Aug 21, 2011
1 parent 02c4731 commit 1d5872c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sitecustomize.py
@@ -0,0 +1,7 @@
import sys
sys.setdefaultencoding('utf-8')

import os
os.putenv('LANG', 'en_US.UTF-8')
os.putenv('LC_ALL', 'en_US.UTF-8')

0 comments on commit 1d5872c

Please sign in to comment.