On 4/19/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
On Wed, Apr 18, 2007 at 09:21:15PM +0200, Markus Gritsch wrote:
> p = Person(name=u'\u20ac') # \u20ac is the 'Euro symbol'.
> print Person.select(LIKE(Person.q.name, u'\u20ac'))[0].name.encode('utf-8')

   Doesn't work with Postgres and SQLite.

I don't get it.  I do not use Postgres, but when I run the example
using SQLite, it works without any problem.  I use Python 2.5 on
Windows XP and SQLObject 0.9.0b1.  The output "terminal" is a buffer
in Emacs, which can display unicode characters very well.  As can be
seen from the attached screenshot, the program prints the Euro symbol.

Any thoughts?
Markus

Attachment: EmacsShot.png
Description: PNG image

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to