On Wed, Jun 25, 2008 at 10:51:56AM +1000, Trent W. Buck wrote: > On Tue, Jun 24, 2008 at 06:05:13PM +0200, Michael Schutte wrote: > > Could you provide a simple testcase? > > On further testing, I've isolated the issue to literal blocks (I was > using UTF-8 box drawing characters in a literal block). Here is a > sample showing the error, using an acute a: > > $ printf '::\n\n\tá' | rst2odt - /dev/null > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position > 118: ordinal not in range(128)
Great, thank you. If you are in a hurry, you can work around this for now by installing python-lxml. I’m currently looking for a clean fix for the ElementTree-based implementation. Cheers, -- Michael Schutte <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature