Thread [php] Problem mit Formularfelderüberprüfung und UTF-8 (103 answers)
Opened by Tom at 2008-10-04 14:02

GwenDragon
 2010-11-20 18:51
#142925 #142925
User since
2005-01-17
14608 Artikel
Admin1
[Homepage]
user image
Dann hilft wohl nur, dein Formular auf ISO-8859-1 umzustellen.

Code: (dl )
setlocale(LC_ALL, 'de_DE.iso-8859-1');

und
Code: (dl )
1
2
3
4
5
6
7
if( mail('email@website.de', 
$_POST['Betreff'],
$_POST['Text'],
'From: ' . $_POST['Absender'] . "\n"
. 'Content-Type: text/plain; charset="iso-8859-1"' . "\n"
. 'Content-Transfer-Encoding: 8bit' )
) {

und
Code: (dl )
<form accept-charset="iso-8859-1" method="post" action="">


Vielleicht weiß irgendein PHPler mit MS Outlook-Erfahrung noch eine Lösung.
Last edited: 2010-11-20 18:54:33 +0100 (CET)

View full thread [php] Problem mit Formularfelderüberprüfung und UTF-8