Can I make the fwrite() to produce UTF 8 format txt?
I need to save some special characters to be imported in Flash...

    The answer seems to be to utf8_encode() the string before writing it, then the file will be saved utf encoded even thoug it will still look like a normal txt (is what it is, in fact) but by the moment it doesn't work to me.

      I have tried :

      utf8_encode($string)

      recode_string('latin1..utf8', $string);

      iconv('iso-8859-1', 'utf-8', $string);

      But flash is still unable to read all the characters in the TXT.
      I badly need some help!

        Write a Reply...