note 32613 deleted from function.utf8-encode by cmb
| From: | cmb@php.net | Date: | Sun, 22 Dec 2019 09:00:59 +0000 |
| Subject: | note 32613 deleted from function.utf8-encode by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213576@lists.php.net to get a copy of this message | ||
Note Submitter: artem at w510 dot tm dot odessa dot ua
----
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!