Seite 1 von 1
no encoding set in backend
Verfasst: Di 2. Dez 2003, 16:21
von hrj
Hi core developers,
The pages in Backend have no encoding (meta tag "content-type" is missing).
I have added a slovak language (sk_SK, ISO8859-2) to my website. I expect, that after editing the english content and switching to slovak, i can type slovak characters. But the browser (IE6, Moz 1.5) remains in ISO8859-1. That is wrong. A meta tag should be set accordingly to language definition:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
Regards
Jozef
Verfasst: Di 2. Dez 2003, 16:37
von emergence
any url to look at ?
Verfasst: Di 2. Dez 2003, 17:03
von hrj
sorry, no url available.
Currently evaluating contentido on localhost (WAMP installation).
You can try it on your installation, just add new language definition with ISO-8859-2 or windows-1250 (Central Europe countries Czech Repuplic, Slovakia, Hungary, Poland, etc.) You need not a complete translation of backend you must only switch your MySQL server accordingly to character set: "latin2" or "win1250".
Re: no encoding set in backend
Verfasst: Mi 3. Dez 2003, 10:31
von timo
hrj hat geschrieben:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
Yes, we know about that issue, but it's pretty hard to solve, since every backend page has to be edited then. Can you type those characters in the insite editing?
Verfasst: Mi 3. Dez 2003, 10:44
von emergence
ähm timo ich hätte da ne idee...
die templates die erzeugt werden könnte ähnlich wie bei den normalen frontend seiten den metatag einfügen...
ne änderung von allen templates wäre dann nicht notwendig..

Verfasst: Mi 3. Dez 2003, 10:48
von timo
Gute Idee - da müßte man aber die Template-Engine umbauen, damit dies auch nur im Backend passiert (soweit ich weiß, benutzen auch einige Module die Template-Engine).
Verfasst: Mi 3. Dez 2003, 11:10
von emergence
noch ne anmerkung zu den metatags...
es sollte ebenfalls ein
<meta http-equiv="Content-language" content="de"> (ist an sich ja in i18nGetAvailableLanguages definiert) dazukommen oder nicht ? im frontend sollte es jedenfalls hinein... (vielleicht bei den spracheinstellungen dazu)
Verfasst: Di 20. Jan 2004, 10:16
von timo
english version follows.
ich habe noch ein Problem, das ganze nachzuvollziehen (wie immer würde ich es gerne testen). Ich habe zum Test das VirtualKeyboard von WinXP geöffnet, und weitere Sprachen installiert. Ich konnte in Contenido dann darüber Zeichen eingeben, und diese wurden auch korrekt gespeichert. Was also funktioniert nicht?
i have a problem to reproduce that (I'd like to test it as usual). I took the VirtualKeyboard from WinXP and installed foreign languages. Using the VirtualKeyboard, I was able to enter and save foreign characters. What doesn't work then?