Re: Error: ASCII decoding error: ordinal not in range(128)
Yuri Smetsers <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Martijn, Due to illness, I wasn't able to respond earlier, sorry 'bout that. > Do your page templates use any non-ascii characters, ones with accents for example? Yes, I'm afraid so. :( > Replace the accented characters in the page template HTML with entity references, like this è, and it should work. I'll try that, thanks. Regards, Yuri Smetsers Martijn Faassen wrote: > Yuri Smetsers wrote: > >> Hello developers, >> >> When loading some of newly added Silva documents, the following error >> occurs: >> >> *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. > > Regards, > > Martijn > > >