Personal tools
Document Actions

FAQs

View entire FAQ in full Up to table of contents
Frequently Asked Questions

Graphical User Interface (GUI)

UnicodeEncodeError: 'ascii' codec can't encode characters

Problems with non-ASCII characters.

Please create/edit sitecustomize.py and add the following line of code:
sys.setdefaultencoding('utf_8')
sitecustomize.py is located in:
platform_linux.gifLinux <%InstallDir%>/lib/python2.5, where <%InstallDir%> is MGLTools' installation directory
.gifMac OS X /Library/MGLTools/lib/python2.5
windows_big_icon.gifWindows C:\Python25\Lib
by Sargis Dallakyan last modified 2007-07-09 17:20 Molecular Graphics Laboratory, TSRI

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: