i am using sqlite for wp7,it throws an exception when i try to insert a record that includes chinese charset,such as the statement below,the chinese string is made at random.
insert into tds_task(
t_name,t_creator,t_sender,t_contents,t_importance,t_state,t_tag,
t_assignto,t_createtime,t_starttime,t_donetime,t_deadlinetime,
t_secrets,t_remindtime,t_category,t_attachments,t_rowguid)
values('科斯特纳目录服务员工们kpkek0哭哭啼','example@example.com','',**'科斯特纳目录服务员工们kpkek0哭哭啼啼兔兔玉兔不图啊啊兔福田汽车业界碑林博物馆学院奖励工资条10拖拖拉拉她她她退下局势必,就算方法'**,'0','0','','','2012-08-05 15:36:50','0001-01-01 00:00:00','0001-01-01 00:00:00','2012-08-05 16:06:00','0','0001-01-01 00:00:00','default','','7200273c-94a6-4e0f-83c0-c4b345cfa01e');
it throwed this exception:
unrecognized token: "'科斯特纳目录服务员工们kpkek0哭哭啼啼兔兔玉兔不图啊啊兔福田汽车业界碑林博物馆学院奖励工资条10拖拖拉拉她她她退"
u there? I got the problem.I found if the text string include Full-width characteristic
then u can’t insert that into the sqlite datebase.if u are a chinese programer, I could provide u more information about how to solve this question. A simple way to clear that is convert Full-width string into half-width string. u can google the code to do that!