Hi,
$text = str_replace('&', '&', $text);
Nur scheint str_replace nicht ganz mit UTF-8 zurecht zu kommen, er wandelt mir also auch alle möglichen anderen Zeichen in ihre HTML Entities um.
Du meinst vermutlich, wenn bereits &entity; im Text steht, wird dann natuerlich &entity; daraus?
Das ist absolut kein UTF-8 Problem, sondern eins deines Umgangs mit den Daten.
abe auch schon probiert utf8_decode davor und utf8_encode dahinter zu stellen, löst nur leider mein Problem nicht.
Natuerlich nicht, s.o.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“