Unicode Support in 2.6 -- background infos?
Hi! I am currently fighting with the unicode support in Zope 2.6. Actually the problem is that I don't want to get pages delivered as unicode. Is the exact behavior of that thingie documented somewhere? Or could someone please give me a hint on how it works? The actual case is that I have a formulator form that sometimes is displayed correctly (that is with the good old Western ISO encoding) and sometimes in Unicode UTF-8. Which then results in broken German umlauts ... I know that I can force Unicode mode by having some unicode string on the page. But can I also do the reverse? Cheers Joachim _______________________________ Joachim Werner iuveno AG Wittelsbacherstraße 23b 90475 Nürnberg Tel. +49 (0) 911 / 988398-4 Fax +49 (0) 911 / 988398-5 Mail: joachim.werner@iuveno.de WWW: http://www.iuveno.de
On Monday 04 November 2002 2:14 pm, Joachim Werner wrote:
Hi!
I am currently fighting with the unicode support in Zope 2.6. Actually the problem is that I don't want to get pages delivered as unicode. Is the exact behavior of that thingie documented somewhere?
Yes, its a PITA that the changes to the book were not available at the same time as the software. This bug report is for a problem which is different to yours, but the comments will probably answer your questions too. http://collector.zope.org/Zope/633
I know that I can force Unicode mode by having some unicode string on the page. But can I also do the reverse?
Yes, by explicity encoding the unicode objects into the character encoding that you want. If dtml only sees plain string objects then it behaves the same as in all earlier versions of Zope.
Yes, its a PITA that the changes to the book were not available at the same time as the software. This is my fault. Can you tell me (again) where the changes to the book are so I can integrate them?
Toby Dickenson <tdickenson@geminidataloggers.com> wrote:
Yes, its a PITA that the changes to the book were not available at the same time as the software.
This bug report is for a problem which is different to yours, but the comments will probably answer your questions too.
http://collector.zope.org/Zope/633
I know that I can force Unicode mode by having some unicode string on the page. But can I also do the reverse?
Yes, by explicity encoding the unicode objects into the character encoding that you want. If dtml only sees plain string objects then it behaves the same as in all earlier versions of Zope.
Which is hardly helful for the end-user... I mean, the point of having computers is to simplify things... Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (4)
-
Chris McDonough -
Florent Guillaume -
Joachim Werner -
Toby Dickenson