Re: [PHP-DEV] Default charset

2006-01-04 Thread Graziano Liberati
At Wednesday 4 January 2006 11:45, Uwe Schindler you wrote: > create a .htaccess file in the application directory where you use > the "php_value" command to set this variable. See > http://www.php.net/php_value > > The problem is that changing the charset in the script is too late > (it is running

Re: [PHP-DEV] Default charset

2006-01-04 Thread Graziano Liberati
At Wednesday 4 January 2006 11:40, Rasmus Lerdorf you wrote: > Not really a question for internals. > >header("Content-type: text/html; charset=UTF-8"); > > from your application will do the trick. > > -Rasmus In this way I set also the text/html content type, but I don't know prior the execu

[PHP-DEV] Default charset

2006-01-04 Thread Graziano Liberati
Hi, I wrote the same mail some days ago in the general list and I asked also on the #php IRC channel on Freenode but I didn't find any answer, so I try here. I need to set the default charset for my application to UTF-8 instead of the default one of the webserver that is ISO-8859-1. I've tried