Personal tools
Document Actions

UnicodeEncodeError: 'ascii' codec can't encode characters

Up to table of contents

This FAQ applies to: Any version.

Problems with non-ASCII characters.
Please create/edit and add the following line of code:
sys.setdefaultencoding('utf_8') 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-12-26 10:55 Molecular Graphics Laboratory, TSRI

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: