Output files encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,

For a reason that I don't really understand, my PHP install outputs file
in UTF-8 by default.

I would like to output files in ISO-8859-1 in certain cases. How do I do
that?

I have tried changing default_charset to iso-8859-1 with an ini_set()
call, but it doesn't help. I also looked at the doc for fopen() and
fwrite() (the functions I am using to write my file) and to the mbstring
module, but it looks like nothing is really coded to allow me to do
this.

Help! :-)

Yannick 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux