management_page_charset confusion and uglyness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
TinoW |
Bug Description
Symptom:
with the unicode patchery, there was a management_
meta-tag for (some) ZMI pages to override what is set by the ZPUblisher. While this isnt even evaluated for every ZMI page,
the default is iso-8859-1.
Now this property is only used by ZMI pages but not by the
publishing process by default. So if you input in some charset
and then hit "test" - you see your results in a totally different
charset - this time the zope.conf directive
default-
So you input in one encoding and view in another, which its
totally silly imho and leads to a lot of confusing errors
like if you add true unicode strings to the scenario.
Solution:
remove all default meta-tag code including the management_
the zope.conf default-
This would solve all problems at once
(including unicode properties, form values
etc)
(NB: default-
default to the encoding specified on locale
in zope.conf)
+1 from me. there may be occasions where you want to have the ZMI in a different character-set from your published output, but this is largely only true where your PC's operating system is character- set-crippled. Windows Unicode support is mature and pervasive, Macs are OK. Don't know about Linux desktops