Heling Yao wrote: > Hi, > > I just used AppWizard to generate an app for my database, but when I > tried to add a new record (chinese in utf-8 encoding), it does > nothing. When I check the console, it says: > > Traceback (most recent call last): > File "/root/dabo/dabo/dabo/db/dbSQLite.py", line 64, in escQuote > return qt + str(val).replace(sl, sl+sl).replace(qt, qt+qt) + qt > UnicodeEncodeError: 'ascii' codec can't encode character u'\u6d4b' in > position 0: ordinal not in range(128) > > Is this a known problem and/or could this be fixed?
It is known now! Thanks... Looks like we didn't learn our lesson from before (coercing to str()). I've entered a ticket on this issue; I'm sure we'll get it fixed very soon: http://svn.dabodev.com/trac/dabo/ticket/1072 -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
