Opened 2 years ago

#10135 new defect

Umlauts doesn't work

Reported by: falkb Owned by: hoessler
Priority: normal Component: EstimationToolsPlugin
Severity: normal Keywords:
Cc: rjollos, osimons Trac Release: 0.12


In function def execute_query(env, req, query_args): of, I tried to add

  • estimationtoolsplugin/trunk/estimationtools/

    134137                        .replace('+', ' ')\ 
    135138                        .replace('%23', '#')\ 
    136139                        .replace('%28', '(')\ 
    137                         .replace('%29', ')') 
     140                        .replace('%29', ')')\ 
     141                        .replace('%C3%84', 'Ä')\ 
     142                        .replace('%C3%96', 'Ö')\ 
     143                        .replace('%C3%9C', 'Ü')\ 
     144                        .replace('%C3%A4', 'ä')\ 
     145                        .replace('%C3%B6', 'ö')\ 
     146                        .replace('%C3%BC', 'ü')\ 
     147                        .replace('%C3%9F', 'ß') 
    138148    env.log.debug("query_string: %s" % query_string) 
    139149    query = Query.from_string(env, query_string) 

but just get this error:

Error: Macro WorkloadChart(milestone=testgehäuse) failed

You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

How must umlauts be fixed?

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.