getPreferredCharsets() returns iso-8859-1 and not utf-8 when HTTP_ACCEPT_CHARSET not present in request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm not sure if I'm sumitting this the right place or if this is just a local problem not affecting any other, but I have the following problem:
While using Internet Explorer 7 (IE7), the method getPreferredCha
At least on my system the line 996 of /lib/python/
header_present = 'HTTP_ACCEPT_
sets header_present = True, even if self.request does not contain 'HTTP_ACCEPT_
Suspecting a problem with the line, not understanding why, I changed it to:
header_present = 'HTTP_ACCEPT_
This resolves my problem.
###################
Other charset related settings I have changed:
Have set sys.setdefaulte
Have set management_
Have set default-
Adding for debug in /lib/python/
print type(self.request)
returns:
<type 'instance'>
Changed in zope2: | |
status: | New → Fix Committed |
Changed in zope2: | |
status: | Fix Committed → Fix Released |
Status: Pending => Rejected
This belongs into the Zope 3 bugtracker since it addresses an issues in the Zope 3 core