Hallo neri.
alternativ zur verstuemmelung der UTF-8 Dateien …
Wieso „Verstümmelung“? Die BOM ist optional und dies wurde auch in diesem Thread bereits erwähnt.
kannst du natuerlich dem Webserver freundlich bitten im HTTP-Header im Content-Type utf8 als charset zu senden.
[ ] Du hast das Ausgangsposting gelesen.
Thom hatte ein Problem mit dem Aussenden eines Content-Type-Headers durch PHP, weil sich am Anfang der jeweiligen Datei die BOM befand, vor dem Senden von HTTP-Headern aber noch kein HTTP-Body versandt werden darf.
Dies kann man nicht beheben, in dem man ein DefaultCharset festlegt.
Einen schönen Montag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]