Hi Michael,

It's creating the column as NVARCHAR, but the data inserted is utf-8 encoded, as opposed to being actual unicode. When you select the data, you get a unicode object that contains utf-8 encoded data. This was the reason for the option of "encoding = None".

Here's an example:
users_table.insert().execute(user_id=u'hello\u1234')
print users_table.select().execute().fetchone()
(u'hello\xe1\u02c6\xb4',)

Regards,

Paul


Michael Bayer wrote:


ive made a commit on #298 but not what we originally planned.  give it
a try and see if it works since i didnt test on ms-sql.


>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to