actually, since 1.83.1 the behavior of web2py has changed and both would be buggy. Can you try web2py 1.83.1 and replace that line with
values = not isinstance(value,(list,tuple)) and [value] or value Does it work? On Aug 13, 5:37 am, hywang <why00...@163.com> wrote: > "|" was used to join values, so it can be written as > values = re.compile('[^|]+').findall(str(value)) > > On 8月13日, 下午6时31分, hywang <why00...@163.com> wrote: > > > line 268: values = re.compile('[\w\-:]+').findall(str(value)) > > > if value contains some Chinease charactors , it failed to parse it. > > > eg: > > value = "|eng|汉字|" > > values = re.compile('[\w\-:]+').findall(str(value)) > > print values > > > #the result is ['eng'], but not ['eng','汉字']