Re: [pyblio] add abstract doesn't work, 1.2.1

Frederic Gobry <[email protected]>
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <[email protected]>
>     text = string.rstrip (text).encode ('latin-1')
> UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2013' in 
> position 441: ordinal not in range(256)

Here is the culprit: there seems to be a non latin-1 character in your
text. The fact is, the GUI supports unicode inputs, but not the underlying
engine. At least, I'll put some meaningful error message instead of this
hidden crash.

Fred

PS : the symbol \u2013 is a dash. I hope you can find which one :-)
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAT3CZFjQHpltE9KURAkZwAJsE1yOYlQHdHF+JNAx86Nf484hKuwCfWB9z
DzQ2XiA/ZcDYmN3Tfd8K6BM=
=M22H
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.