[silva-dev] Error: ASCII decoding error: ordinal not in range(128)
faassen at infrae.com
Tue Sep 14 12:43:06 CEST 2004
Yuri Smetsers wrote:
> Hello developers,
> When loading some of newly added Silva documents, the following error
> *Error Type: UnicodeError*
> Error Value: ASCII decoding error: ordinal not in range(128)
> Most content is added by our webmaster, who uses an iMac (*sigh*)
> running Mac OS 9 and Mozilla 1.3 (hurray!), so I won't be able to
> reproduce the error. Zope and Silva are running on Debian Linux.
> Is this a known bug? If more input is needed, please ask. :)
Do your page templates use any non-ascii characters, ones with accents
for example? If so, you'll see this error for any documents that have
accents in them as well. Documents without special characters (such as
accented characters, euro signs or chinese, will be fine).
Replace the accented characters in the page template HTML
with entity references, like this è, and it should work.
More information about the silva-dev