lisawebs Posted May 2, 2008 Share Posted May 2, 2008 After reading an existing txt file in UNICODE format, (no problem with that) I need to rewrite the txt file again UNICODE (not UTF-8, to flash isn't the same thing) I dont need to use the UNICODE stuff internally, I just need to set something to the written file keeps the originally UNICODE format. I new previous version cannot support that what about PHP 5? Thanks a lot Lisa Quote Link to comment Share on other sites More sharing options...
effigy Posted May 2, 2008 Share Posted May 2, 2008 What is the "Unicode format"? Quote Link to comment Share on other sites More sharing options...
discomatt Posted May 2, 2008 Share Posted May 2, 2008 UTF-8 IS probably what you want... maybe flash has a problem with/without BOMs Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted May 2, 2008 Share Posted May 2, 2008 if you guys bothered to read she needs Unicode NOT UTF-8 to flash try the PHP unicode functions: http://us2.php.net/unicode Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted May 2, 2008 Share Posted May 2, 2008 microsoft .txt's gerally only save in uTF-8. Perhaps you would need the script to save data in a .rtf file. or if you know how to you could have the script save data in a database that uses unicode instead of UTF-8.! Quote Link to comment Share on other sites More sharing options...
effigy Posted May 2, 2008 Share Posted May 2, 2008 if you guys bothered to read she needs Unicode NOT UTF-8 to flash I did "bother" to read. Unicode is not an encoding. If you read the documentation for the unicode_decode and unicode_encode functions, you will see that they require an encoding. Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted May 2, 2008 Share Posted May 2, 2008 if you guys bothered to read she needs Unicode NOT UTF-8 to flash darkfreaks wow... Sorry to have mispleased the gods! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.