Re: [UDD] Encoding problems with unicode strings

2009-05-22 Thread Andreas Tille
On Fri, May 22, 2009 at 06:36:39PM +0200, Adeodato Simó wrote: > UDD just has the descriptions from Packages.gz, which supposedly are in > UTF-8. If your destination (a file, terminal, whatever) should be > receiving UTF-8, you can just pass them unmodified, eg.: > > for row in curs.fetchall()

Re: [UDD] Encoding problems with unicode strings

2009-05-22 Thread Adeodato Simó
+ Andreas Tille (Fri, 22 May 2009 16:00:48 +0200): > Hi, > I observed encoding problems when reading descriptions from > UDD if they do contain non-ASCII characters and I wonder > what I might do wrong. Here is a little test program which > queries for some descriptions I found to be problematic

[UDD] Encoding problems with unicode strings

2009-05-22 Thread Andreas Tille
Hi, I observed encoding problems when reading descriptions from UDD if they do contain non-ASCII characters and I wonder what I might do wrong. Here is a little test program which queries for some descriptions I found to be problematic: #!