My db charset IS "UTF-8 Unicode (utf8)" and collation is
"utf8_unicode_ci". If you need any other info, let me know
On 3 Dic, 18:09, "Anand Chitipothu" <[EMAIL PROTECTED]> wrote:
> I tried the following test:
>
> def testUnicode(self):
> db = webtest.setup_database(self.dbname)
> name = u'\u1234'
> self.db.insert('person', False, name=name)
> name2 = db.select('person')[0].name
> self.assertEquals(name, name2)
>
> It worked fine with 'charset="utf8"' but failed with "SET NAMES utf8".
>
> Can you try changing default charset of your database to utf8?
>
> http://dev.mysql.com/doc/refman/5.0/en/charset-database.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---