2005/12/19, Michael Bayer <[EMAIL PROTECTED]>:
> The Unicode type at the moment doesnt do anything.  it needs to have
> string conversion placed inside of it to deal with databases that
> dont store unicode directly (or whatever it is we need the Unicode
> type to do....I thought most databases store Unicode now anyway?)
>
> this is another place Im just looking for someone to give me a clue
> on what the unicode type should be doing since ive been too lazy to
> test it out myself....
>

I'v saw that there is also UnicodeCol type in SQLObject, but I didn't
dig into it. But I know that pyslite2 only deal with unicode string,
and I'm developing a rss reader plugin for my NewEdit project, and it
uses wxPython, I need to deal with unicode also in wxPython. In my
situation, I'll get somethings in Unicode, and need to store them in
database. And as I regain them from the database, I need convert them
to Unicode also. So if there is Unicode type will be very helpful. So
in my thought, if someone declare a Unicode Type, and pass a string
type, you should convert it automaticly. But I don't know if I need
sepcify the encoding parameter. And as I regain it from the database,
you should convert them to Unicode depend on the backend database.

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to