Ticket #3209 (closed defect: fixed)

Opened 7 months ago

Last modified 4 months ago

Error: 'ascii' codec can't encode character u'\xfc' ... when using german special characters

Reported by: js@gla-wel.de Assigned to: bobbysmith007
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: &auml &ouml ü

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

Change History

06/18/08 09:34:00 changed by bobbysmith007

I will try to look into this soon

russ

09/25/08 14:59:33 changed by bobbysmith007

(In [4340]) re #3209

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

09/25/08 15:00:21 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

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.


Add/Change #3209 (Error: 'ascii' codec can't encode character u'\xfc' ... when using german special characters)




Change Properties
Action