Hallo Honda.
Ich habe nirgends Probleme ausser, dass ich eine Lösung suche, wie ich die aus der DB (UTF codiert) geholten Namen (in UTF-8) entsprechend mailen kann, sodass sie unverstümmelt ankommen bei Hotmail und GMX (Yahoo, web.de usw. funktioniert ohne Probleme).
Vielleicht hilft dir folgendes ein wenig weiter:
(Inhalt von utf8.txt: „ÄÖÜ“, UTF-8-kodiert)
<?php
error_reporting(E_ALL);
header('content-type:text/plain; charset=utf-8');
echo file_get_contents('./utf8.txt'); // Ausgabe: ÄÖÜ
?>
<?php
error_reporting(E_ALL);
header('content-type:text/plain; charset=iso8859-15');
echo file_get_contents('./utf8.txt'); // Ausgabe: Ã … (wegen Forumsmeldung beschnitten)
?>
<?php
error_reporting(E_ALL);
header('content-type:text/plain; charset=iso8859-15');
echo [link:http://de2.php.net/manual/de/function.utf8-decode.php@title=utf8_decode](file_get_contents('./utf8.txt')); // Ausgabe: ÄÖÜ
?>
Einen schönen Dienstag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
mathbr:del.icio.us/ mathbr:w00t/
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
mathbr:del.icio.us/ mathbr:w00t/