Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Search should use unicode() instead of str() #13

@patrickyan

Description

@patrickyan

See error below

File "/app/.heroku/python/lib/python2.7/site-packages/datatables/__init__.py", line 138, in _json
    query = self.search_func(query, str(search["value"]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 4: ordinal not in range(128)

Only ascii search terms work currently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions