Opened 17 years ago
Closed 17 years ago
#5371 closed (worksforme)
databrowse fails when table contains non-ascii data
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | contrib.databrowse | Version: | dev |
Severity: | Keywords: | encodings | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I tried using databrowse on my data, which contains utf-8 strings. The result is this exception:
Template error
In template c:\python25\lib\site-packages\django\contrib\databrowse\templates\databrowse\homepage.html, error at line 9
Caught an exception while rendering: 'ascii' codec can't encode characters in position 33-36: ordinal not in range(128)
Note:
See TracTickets
for help on using tickets.
Needs more info - I am pretty sure I have
databrowse
working with unicode.I suggest you bring your problem up on the discussion group or in IRC (reopen after providing some more detailed information)