You are here: Output files encoding « PHP « IT news, forums, messages
Output files encoding

Posted by Yannick Warnier on 10/24/05 16:37

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация