Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unicode string and metakit database

0 views
Skip to first unread message

Tony

unread,
Nov 3, 2005, 5:08:42 AM11/3/05
to
I write a database application with Metakit. My script is like the
following:
...
vw = db.getas("t1[no:I,ch:S,code1:S,code2:S]")
...
*vw.append(no=i,ch=x,code1=y[0],code2=y[1])
...
But errors occured on "*" and it displayed "TypeError: not a Python
string".
x, y[0], y[1] are unicode strings. Doesn't Metakit support unicode or
else?

Thanks a lot!

0 new messages