tags:

views:

91

answers:

3

On some systems it is UTF-8, on others latin-1. How do you set this? Is it something in php.ini?

(I know you can set the encoding/charset for a given page by setting HTTP headers, but this is not what I am looking for.)

Alex

A: 

If you're not looking for encoding/charset, what are you talking about?

J D OConal
I am looking at setting the encoding/charset, but on a system-wide basis, not by using the header() in every page. Does this make sense?
Alessandro Vernet
A: 

There is a default_charset setting in php.ini

Vinko Vrsalovic
A: 

If you need to change the character set of non php files you can tell apache what to use. AddDefaultCharset utf-8

MOdMac