[Zope] Restructured Text and High ASCII

Steve McMahon steve@reidmcmahon.com
Wed, 30 Apr 2003 19:00:15 -0700


Thanks to Andreas' great work on the reStructured Text backport, I've 
been able to offer it up for experimentation as an alternative to 
structured text. But ... we've immediately run into encoding problems 
with text copied-and-pasted from Windows apps. The texts have high ascii 
(ord > 127) which might produce unexpected results in structured text, 
but didn't break anything. Rendering as reStructured Text produces the 
exception:

Error type: UnicodeError
Error value: ASCII encoding error: ordinal not in range(128)

I'm woefully ignorant on alternative encodings. Anyone got a simple 
Python recipe I can use to wrap user-submitted text so that it won't 
bust docutils?

Thanks! Steve


-- 
______________________________________________________

Steve McMahon
Reid-McMahon, LLC
steve@reidmcmahon.com
steve@dcn.org