Changing ZMI to UTF-8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Low
|
Unassigned |
Bug Description
Idea:
We want to change the ZMI output encoding of everyting in/under a Silva Root to
UTF-8.
Reasons:
1. help the internationaliz
2. reduces risc of getting Unicode errors :)
3. reduce code complexity
The change would reduce the probability of getting Unicode errors because in the
code we can assume that all input (SMI *and* ZMI) is in UTF-8, this would also
reduce the code complexity (and therefore the amount of errors).
Technical details:
There is a method to achieve this by setting the attribute 'manage_
in the Silva Root to UTF-8. This will display all subsequent pages in this tree
as UTF-8 by default.
Pitfalls:
1. Existing might contain custom code (python scripts, page templates...) that
contains non-ascii characters which will not display the way they should. Same
with input from forms.
Obviously the change will result (according to pitfall 1.) in migration issues
for existing sites that use non-ascii characters.
Even in regard to migration issues: I think it's worth to make the change to
UTF-8. I'll notify our people, so that they are aware that this change will come up.