Skip to content. | Skip to navigation


Encryptec Limited Online

 Last updated Wednesday, 27 Aug 2008 12:02
Sections
Document Actions

Why am I getting 'ascii' codec Errors?

Up to table of contents

This FAQ applies to: 0.1.99

When using the rss_manager module, I get 'ascii' codec errors .. sometimes ..

The problem is associated with Unicode characters being present in the RSS feed.

The solution to date is to tell your version of python to default to utf-8 as opposed to ascii as follows;

cd /usr/lib/python2.3/site-packages/
vi sitecustomize.py

Insert;

import sys, codecs
sys.setdefaultencoding('utf-8')

Restart Zope ...

printer cartridge
Need a printer cartridge? Let us help! Ring our freephone and order before 4pm to take advantage of our same day dispatch.
Website Designers
Our professional website designers can make websites that you update yourself! Add text and images whenever you need to. See online!
SMALL BUSINESS IT
Are you a small business in need of IT Support? Click the link above.
E-COMMERCE SOFTWARE
For E-commerce software that provides an online shopping catalogue, click above.
Canon Pixma Ink Cartridges...
Pay less for Canon Pixma ink cartridges.
Dedicated SERVERS
Before renewing your contract with the company hosting your current server check out this site.
Cheap Laptop Bag
Check out a variety of cheap laptop bags here!
email downtime...
They store all your email at two separate data centers giving you complete peace of mind during downtime.