[Zope] utf-8 problem in Zope when using Localizer
ulmer at truckport.de
Fri Aug 24 03:29:54 EDT 2007
>> 4. I insert html-code and some russian chars for testing
>> <meta http-equiv="content-type" content="text/html; charset=utf-8">
>> ...russian chars...
>> After Saving all looks great in ZMI and also in my webbrowser.
>> 5. Now I add one line to use a MessageCatalog:
>> <dtml-var "MessageCatalog('Hallo Welt!')">
>> After that, all of my utf-8-chars are broken in my webbrowser. I check
>> browser-encoding and it is still utf-8. In ZMI my "DTML Document" looks
>> good. This line must switch something in the output-encoding in the
>> internal page-render (I don't know, how to better explain it). Is this
>> an error in Localizer or in Zope or have I overlook a fault?
> The http-equiv tag means not much to browser. Try setting the
> including the charset within the HTTP response
I have checked it but it is the same problem. Browser is encoding in
utf-8 correct, but the result (html sourcecode from zope) is not utf-8
anymore after inserting <dtml-var "MessageCatalog('Hallo Welt!')"> and I
don't know why it changed. How can a dtml-var-tag changed the encoding
for the document?
More information about the Zope