|
Posted by Kimmo Laine on 07/24/06 06:57
spam@outolempi.net || Gedoon-S @ IRCnet || rot13(xvzzb@bhgbyrzcv.arg)
"Matthias Langbein" <matthias_langbein@web.de> wrote in message
news:nre6c2tmdtsu6lj11j7q2v54jlnpt9rce2@4ax.com...
> Thanks, that was the problem. I saved the file with UTF-8 and it
> worked.
>
> Are you shure that the accept-charset attribute works? I had set it to
> UTF-8 or UTF-16 and uploaded a file in UTF-8 and UTF-16, and the
> upload worked in all four cases. So I don't really thing that this
> contraint is implemented.
>
> Unfortunatelly I have to accept UTF-8 and UTF-16 encoded files. Is
> there a way to convert the stream to UTF-8
http://php.net/manual/en/ref.mbstring.php
$file = mb_convert_encoding($file, 'UTF-8', 'auto');
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
Navigation:
[Reply to this message]
|