Re: Umlauteproblem

Vladislav Vorobiev <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
2009/2/5 Ralf Lüdicke <[email protected]>:
> Andreas Jung schrieb:
>>
>> Was ist jetzt genau die fehlerhafte Darstellung bei Verwendung dieses
>> Skripts + ZPT? Falsches Encoding oder eine Darstellung \xFC oder ähnliches?
>>
>> Andreas
> Ich erhate genau folgendes Ergebnis:
>
> Im Browser:
>  Item1 |  Men? |  Item3 |
>
>
> Als HTML-Quelltext:
>  <div id="topmenu">&nbsp;
>
>    <a href="http://192.168.2.99:8080/test/test2/a" class="">Item1</a>
>     <span class="invis">|</span>
>
>
>    <a href="http://192.168.2.99:8080/test/test2/b" class="">Men?</a>
>     <span class="invis">|</span>
>
>
>    <a href="http://192.168.2.99:8080/test/test2/c" class="">Item3</a>
>     <span class="invis">|</span>
>
>  </div>
>
>
> Im ZMI in der Folderansicht steht aber richtig:
>
> Folder  a (Item1) 2009-02-05 15:39
> Folder  b (Menü2) 2009-02-05 15:39
> Folder  c (Item3) 2009-02-05 15:39
>


Kommt der aufruf über ein Macro?

Setz mal global irgend wo in index_html

response.setHeader('Content-type','text/html;charset=iso-8859-15')
request.set('HTTP_ACCEPT_CHARSET','iso-8859-15')

und hast du auch für ZMI ein  management_page_charset
property=iso-8859-15 im root?

gib auch irgend wo neben der Fehlerhaften darstellung menuitems aus

tal:content="python: context.menuitems()"
und auch

    <tal:block tal:repeat="python: context.objectValues('Folder')">
     <a href="#" class="#"
       tal:content="item/title_or_id">Menu1</a>
    </tal:block>

Vlad



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.