note 32613 added to function.utf8-encode
| From: | artem at w510 dot tm dot odessa dot ua | Date: | Tue, 03 Jun 2003 00:10:36 +0000 |
| Subject: | note 32613 added to function.utf8-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49593@lists.php.net to get a copy of this message | ||
Loading variables in flash
you can lost a lot of hours if your charset is not iso-88951 and you cant' see your characters
in flash
you must use iconv instead with your codepage
(for example windows-1251 for ukrainian, russian)
$fw = fopen("flash_input.txt", "w");
if( $fw )
{
$utf = iconv("windows-1251","UTF-8",$variable_value);
$out = 'variable_name='.$utf;
fputs($fw, $out);
fclose($fw);
}
and no urlecode is needed if you save data in file!
----
Manual Page -- http://www.php.net/manual/en/function.utf8-encode.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32613
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32613&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32613&report=yes