apache2 und griechisches charset funzt nicht ?!

Apache, Lighttpd, nginx, Cherokee
Post Reply
stamos
Posts: 66
Joined: 2003-05-17 18:21
Location: Berlin
 

apache2 und griechisches charset funzt nicht ?!

Post by stamos »

hallo zusammen,

habe mein forum (griechisch) auf einen apache 2 server geworfen (bei 1und1) doch nun funzt die codierung der griechischen bucgstaben nicht mehr obwohl ich im header des forums

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-7">
angegeben habe.

laut apache homepage muß die festlegung in der datei mod_mime-defaults.conf erfolgen, da habe ich aber alles versucht und es funzt nicht?!

hat jemand ne idee?
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by sascha »

URL zum Forum posten oder auf Hilfe verzichten :wink:
stamos
Posts: 66
Joined: 2003-05-17 18:21
Location: Berlin
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by stamos »

ops vergessen vergessen vergessen....

http://www.greekforum.de/test/index.php
fossibär
Posts: 5
Joined: 2004-06-17 15:35
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by fossibär »

moin

also ich weiß ja nicht ob es weiterhilft, aber bei mir steht im quelltext

<meta http-equiv="Content-Type" content="text/html; charset=windows-1253" /> <-- nix mit 7 am ende, vielleiht liegts ja daran und du solltest das templatefile editieren
stamos
Posts: 66
Joined: 2003-05-17 18:21
Location: Berlin
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by stamos »

hallöle,

windows-1253 und ISO-8859-7 sind beide griechisch, nur halt einmal als ISO und einmal als windows, aber beide gehen nicht, sowie ich es mitbekommen habe von anderen leuten, muß es am apache2 webserver liegen (mime typen, charsets)..... :?:
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by sascha »

Also dein Apache liefert die Seiten folgendermaßen aus:

Code: Select all

Content-Type: text/html; charset=iso-8859-1
Ich würde daher mal folgendes in einer .htaccess (oder im VHost) ausprobieren:

Code: Select all

AddType "text/html; charset=ISO-8859-7" php
stamos
Posts: 66
Joined: 2003-05-17 18:21
Location: Berlin
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by stamos »

habe ich gemacht, dann parst er das php nicht mehr.

allerdings war in der php.ini folgender eintrag:

; PHP's built-in default is text/html
default_mimetype = "text/html"
default_charset = "windows-1253"

denn habe ich angepasst und nun funzts : )))))))))))))))))))))))
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: apache2 und griechisches charset funzt nicht ?!

Post by Joe User »

Sascha wrote:Ich würde daher mal folgendes in einer .htaccess (oder im VHost) ausprobieren:

Code: Select all

AddType "text/html; charset=ISO-8859-7" php
In die .htaccess im Forenverzeichnis:

Code: Select all

AddDefaultCharset ISO-8859-7
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply