#3209 closed defect (fixed)
Error: 'ascii' codec can't encode character u'\xfc' ... when using german special characters
Reported by: | Owned by: | Russ Tyndall | |
---|---|---|---|
Priority: | normal | Component: | EstimatorPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Just installed EstimatorPlugin and found a critical Bug for german users.
If I use one of these characters
ä ü ö[[BR]] a u o with two little dots on it (in case the above line is readable for you) ( html: ä ö ü
which are on the german codetable, I get an error while saving the estimate:
Invalid Id: 2 Error: 'ascii' codec can't encode character u'\xfc' in position 33: ordinal not in range(128)
(just for info: The border of the message is green, just for the look and feel it should be red :-) )
The thing is: The estimate is saved as it should (including special characters) with the ticket, but if I click on "edit this estimate" I get the same error message and an empty estimate. I have no possibility
Trac 0.11 rc2 standalone @ windows Latest EstimatorPlugin
Some other Plugins seem to have similar problems:
http://trac-hacks.org/search/...
http://trac-hacks.org/ticket/1969
Attachments (0)
Change History (3)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Based on what you linked to, this seems like a problem using the str() function when I should be using unicode()
The place that I found where it was doing this was in building up some json output. I changed this to unicode, which will hopefully mean that this error is solved.
HTH,
Russ
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
ps... sorry it took so long, we dont use this plugin as much as we thought we would, so the bugs on it have gotten less attention from me than perhaps they should.
I will try to look into this soon
russ