[web2py] Something is wrong when IS_IN_SET contains Chinease characters

2010-03-29 Thread hywang
---model file is like this - db.define_table('options_contain_chinease', Field('student_name', requires = IS_IN_SET(["Jim","小长","老李"], multiple=True)), ) db.options_contain_chinease.student_name.widget = CheckboxesWidget.widget --controller file is like this ---

[web2py] Something is wrong when IS_IN_SET contains Chinease characters

2010-03-29 Thread hywang
---model file is like this - db.define_table('options_contain_chinease', Field('student_name', requires = IS_IN_SET(["Jim","小长","老李"])), ) db.options_contain_chinease.student_name.widget = CheckboxesWidget.widget --controller file is like this -