Hi there

I've stuck with a small problem with the subject.

There is a table with a fileld like this:
    Field('author','reference auth_user',widget = 
SQLFORM.widgets.autocomplete(request, db.auth_user.cn, 
id_field=db.auth_user.id, limitby=(0,20), min_length=2), ondelete="no 
action",label='Автор'),

And there is a line in the controller:
    form = SQLFORM(db.sometable)


Dropdown won't search cyrillic letters.
If I type %% in the input - it drops down all values, and I can select 
cyrillic value, and it succesfully gets into the table.

GET looks like
https://xxx.yyy.ru/default/new?_autocomplete_auth_user_cn=%u041C%u043E
and it returns nothing

But if I call it manually, like that
https://xxx.yyy.ru/default/new?_autocomplete_auth_user_cn=%D0%9C%D0%BE
it returns all suitable values.


How can I fix that?


Thanks in advance
(Sorry for bad English)

-- 



Reply via email to