Page 1 of 1

Default file encoding would be?

Posted: Wed Oct 29, 2008 12:58 pm
by kaisellgren
Hi,

I'm interested. Are you guys using ISO8859_1 as default file encoding, too? Of course some language files may have UTF-8, but for core files, etc?

Re: Default file encoding would be?

Posted: Wed Oct 29, 2008 3:07 pm
by s.dot
Most likely. I believe the 'default' for php is ISO-8859-1, at least it is for htmlentities().
However, I make everything UTF-8, and pass 'UTF-8' as the charset parameter to htmlentities().

I don't think it matters (barring what you want, of course), but be sure to keep it universal.