flash - php -mailform special charaters
- Started
- Last post
- 11 Responses
- armed_rob
I want to make a mailform that writes "æøå" without using System.useCodepage = true;
Flash code:
http://pastebin.coconut.se/?id=4…php code:
http://pastebin.coconut.se/?id=4…Is it something with utf8_decode in the php?
- cosmo0
what is the error you are getting?
- armed_rob0
well no error...
ÆØÅæøå
looks like
Ã?Ã?Ã?Ã?Ã?Ã?Ã?Ã?Ã?Ã?Ã
- cosmo0
try displaying the message before it's mailed.
- armed_rob0
Input in the mailform:
Navn/name: Robert Efternævnemail: robert@armedrob.dk
Besked/message: This is a test I want this to be æ ø å Æ Ø Å
- unfittoprint0
try using escape() in Flash
and
url_decode in php...
- armed_rob0
and the mail I get:
Robert EfternÃœvn
robert@armedrob.dk
This is a test I want this to be Ü ø å � � �
- armed_rob0
Like how Unifit?
- armed_rob0
BUMP unifit?!
- cosmo0
Did you try the UTF thing unfit mentioned?
- unfittoprint0
http://pastebin.coconut.se/?id=4…
and try adding this two lines to your php mail headers:
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
- armed_rob0
that way it gernerates some kind of spam warning mail!??