License Public Domain
Lines 2
Keywords
default (1) encoding (1) file (4) python (33) UTF-8 (1)
Permissions
Owner: Stou S.
Viewable by Everyone
Editable by All Siafoo Users
Hide
Bored? Check out the Recent Activity on Siafoo Join Siafoo Now or Learn More
Note: You are viewing an old version of this snippet. View Latest Version

Set Python to UTF-8 Atom Feed 1

In Brief Save this in your site-packages directory.
# 's
1import sys
2sys.setdefaultencoding('utf-8')

Save this in your site-packages directory.