Skip to content
Browse files

Sitecustomize.py turns your local NewsBlur installation into a UTF-8 …

…capable installation. Necessary if you want feeds that use UTF-8. Just make sure your newsblur directory is in your PYTHONPATH.
  • Loading branch information...
1 parent 02c4731 commit 1d5872ce998058a8933175e35aad5c3b16c3a4ce @samuelclay committed Aug 21, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 sitecustomize.py
View
7 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.
Something went wrong with that request. Please try again.