Question

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

Was it helpful?

Solution

There is a default_charset setting in php.ini

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top