klipstein/dojango — Issue #32: 32 - Unicode encodings raise UnicodeEncodeError in datagrid_list view 
Author: klipstein
Created: 2011-11-06 12:56:12+00:00
State: open

When using UTF-8 encodings in search, datagrid_list raises an error like:

UnicodeEncodeError at /datagrid-list/entities/Entity/ ... ordinal not in
range(128). This is due to the use of (str(request.GET['search']). It
should use unicode instead (like the rest of django's components).

See the attached patch.

Original link: http://code.google.com/p/dojango/issues/detail?id=32