[Trac-tickets] Re: [The Trac Project] #1239: Milestone with
national language characters don't work
The Trac Project
noreply at edgewall.com
Tue Oct 25 13:00:18 CDT 2005
#1239: Milestone with national language characters don't work
----------------------------------------------+-----------------------------
Reporter: Norbert Unterberg <nepo at gmx.net> | Owner: cmlenz
Type: defect | Status: assigned
Priority: normal | Milestone: 0.9
Component: roadmap | Version: devel
Severity: normal | Resolution:
Keywords: |
----------------------------------------------+-----------------------------
Comment (by cmlenz):
So, it seems like this problem has only been reproduced when running as
CGI under Windows as of yet.
The difference between `Te%C3%9Ft` and `Te%DFt` is that the first is
encoded in UTF-8 (which requires two bytes for a "ß"), while the second
is encoded using some 8-bit charset, probably ISO-8859-15.
I don't understand why this doesn't work. The CGI receives the `PATH_INFO`
in the URL-encoded form. It is then "unquoted" using Python's `urllib`,
basically recreating the byte string. The resulting string is then simply
assumed to be UTF-8 by Trac.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1239>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list