note 85079 added to function.mb-convert-encoding
| From: | StigC at osu1 dot php dot net | Date: | Wed, 13 Aug 2008 22:38:48 +0000 |
| Subject: | note 85079 added to function.mb-convert-encoding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143463@lists.php.net to get a copy of this message | ||
For the php-noobs (like me) - working with flash and php.
Here's a simple snippet of code that worked great for me, getting php to show special Danish
characters, from a Flash email form:
<?php
// Name Escape
$escName = mb_convert_encoding($_POST["Name"], "ISO-8859-1", "UTF-8");
// message escape
$escMessage = mb_convert_encoding($_POST["Message"], "ISO-8859-1",
"UTF-8");
// Headers.. and so on...
?>
----
Server IP: 195.184.96.15
Probable Submitter: 80.162.24.51
----
Manual Page -- http://www.php.net/manual/en/function.mb-convert-encoding.php
Edit -- https://master.php.net/note/edit/85079
Del: integrated -- https://master.php.net/note/delete/85079/integrated
Del: useless -- https://master.php.net/note/delete/85079/useless
Del: bad code -- https://master.php.net/note/delete/85079/bad+code
Del: spam -- https://master.php.net/note/delete/85079/spam
Del: non-english -- https://master.php.net/note/delete/85079/non-english
Del: in docs -- https://master.php.net/note/delete/85079/in+docs
Del: other reasons-- https://master.php.net/note/delete/85079
Reject -- https://master.php.net/note/reject/85079
Search -- https://master.php.net/manage/user-notes.php