Re: Deutsche Umlaute korrekt in Firefox und Chrome / nicht korrekt in Internet Explorer und Safari

Gottfried Sascha <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Hallo Andreas,
danke für den Tipp. Im meinem konkreten Fall wurde das ZPT ja dann auch entsprechend gerendert ('utf-8'). Wann muss man das Rendering von ZPTs mit response.setHeader() beeinflussen? Hast du ein Beispiel?

Danke und Gruss,
Sascha 

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Andreas Jung
Gesendet: Samstag, 12. Februar 2011 08:11
An: Deutschsprachige Zope-Benutzer-Liste
Betreff: [dzug-zope] Re: Deutsche Umlaute korrekt in Firefox und Chrome / nicht korrekt in Internet Explorer und Safari

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Entscheidend ist aus meiner Erfahrung i.A. der

Content-Type: text/html; charset=utf-8

HTTP *Header* in der HTTP Response.

(also mit response.setHeader(header, value) probieren)

- -aj

Gottfried Sascha wrote:
> Hallo,
> 
>  
> 
> ich habe folgendes Phänomen in einer ZOPE/ZMS Anwendung. Diese 
> verwendet DTML für die Templates. Das Problem tritt auf, wenn Zope 
> Page Templates per DTML (<dtml-var>) geladen werden. ZPT setze ich für 
> alle neuen Templates ein. Dieser Aspekt wirft mich aber zurück.
> 
>  
> 
> Deutsche Umlaute werden in Firefox und Chrome korrekt dargestellt. Die 
> Umlaute in Internet Explorer und Safari werden nicht korrekt 
> dargestellt. Geprüft habe ich das mit allen verfügbaren Browsern in 
> Adobe Browserlab. Im Anhang sind Screenshot von FF 3.0 und IE9 Beta 
> (IE7 und IE8 gleiche Darstellung).
> 
>  
> 
> Betriebssystem: Windows XP deutsch
> 
> Zope: 2.11.4
> 
> Python: 2.4.4
> 
> Default-zpublisher-encoding: uft-8
> 
> Anzeige „Zeichenkodierung“ in allen Browsen: utf-8
> 
> Im HTML –Quellcode findet sich folgende Zeile: <meta 
> http-equiv="Content-Type" content="text/html; charset=utf-8"/>
> 
>  
> 
> Was wird im Browser angezeigt?
> 
> München  statt  München
> 
> FÃŒhrungspositionen statt Führungspositionen
> 
>  
> 
> Fehlerhafte Anzeige jedoch nur im IE und Safari. Klingelt es da bei 
> jemandem? Welche Randbedingungen gibt es noch? Für jede Form der Hilfe 
> liefere ich gern weitere Informationen. Danke.
> 
>  
> 
> Mit freundlichen Grüßen
> 
> Dipl.-Ing. (FH) Sascha Gottfried
> Produktentwicklung IAS-Gruppe
> IAS Institut für Arbeits- und Sozialhygiene Stiftung Askanischer Platz 
> 1
> D- 10963 Berlin
> 
> Tel:    030/820015-553 (neue Telefonnummer)
> Fax:   03221/1085-904
> 
> E-Mail: [email protected] 
> <mailto:[email protected]>
> Web: http://www.ias-gruppe.de <http://www.ias-gruppe.de/>
> 
>  
> 
> 
> 
> P*Bitte prüfen Sie vorher, ob ein Ausdruck dieser E-Mail wirklich 
> nötig
> ist.*
> 
> IAS Institut fuer Arbeits- und Sozialhygiene Stiftung 
> Steinhäuserstraße 19, D-76135 Karlsruhe
> 
> Vorstand: Arndt Kempen, Dr. Peter Wrogemann Vorsitzender des 
> Kuratoriums: Prof. Dr. Dr. Norbert Gross
> 
> Sitz der Stiftung: Karlsruhe, USt-IdNr.: DE 143609069 Eingetragen ins 
> Stiftungsverzeichnis des Regierungspräsidiums Karlsruhe
> 
> Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte 
> Informationen enthalten. Wenn Sie nicht der richtige Adressat sind 
> oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte 
> sofort den Absender und vernichten Sie diese Mail. Das unerlaubte 
> Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
> This e-mail may contain confidential and/or privileged information. If 
> you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and destroy this e-mail. 
> Any unauthorised copying, disclosure or distribution of the material 
> in this e-mail is strictly forbidden.
> 
> 
> _______________________________________________
> zope mailing list
> [email protected]
> https://mail.dzug.org/mailman/listinfo/zope


- -- 
ZOPYX Limited           | zopyx group
Charlottenstr. 37/1     | The full-service network for Zope & Plone
D-72070 Tübingen        | Produce & Publish
www.zopyx.com           | www.produce-and-publish.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJNVjKFAAoJEADcfz7u4AZj4MoLwK6IZZbc51QJsMkOfAHo5qWW
EKIhW+d1Tx3SQFwp09ZiwPcWm/hpxOcjI66NOYkyZjf6QbLEFwTxiTTCKQr0lw2a
43FUcfHPh2yMHEiROnWaPuZNOasZhi1es4omc+iHGsA6k6GURZCTuJuMa3PiKuYJ
tMitsoND6OTqx1uIZC9D56tjPsJqZkE2lnJDtOGdKeE4sGunLXnj/Rc8Df/uEFct
H1CyKHeGqwcV1Fney4/K7So70KJT7qnKIap4/tjFcsldL1DYrg/iFRjpg+521bEI
SoYdaEl42SQQi5ov2z201OtB/akW8myBqKhT+FsG0NBaH9h0B310yZYh3vtB84Q8
M9yPgo92jpAm5c8DIqRKucMPgeEauNiOg3DIqm+TYgbQP2YGdVo/r5Fw/uEcNK78
iefl2Q0VSze0qgIxfw4gillfp0A7otT08l55M2CZuu/qbhzAoPihusxbTC53NSua
vBJl+JE0FW1Mju82bnZ14vAQC1xjHkY=
=xlZy
-----END PGP SIGNATURE-----


_______________________________________________
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.