Problem with PARAGRAPH SEPARATOR

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Mar 20 10:24:16 EDT 2008


On Thu, 20 Mar 2008 13:03:17 +0000, Dominique.Holzwarth wrote:

> The output of the transformation (a big string containg the whole file)
> contains a so called 'paragraph separator' (unicode: 2029). If I want to
> pring that string (file) to the std out or a file object then I get a
> "UnicodeError" saying that the unicode 2029 can't be encoded...
> 
> Can anyone please tell me how I should handle that paragraph seperator?

You have to encode the unicode object in an encoding that know this
character.  UTF-8 might be a candidate encoding for this.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list