UTF-8 works as long as you don't include a BOM (ByteOrderMark).

- tul

Google Kreme wrote:
On 11 Nov 2006, at 08:45 , C Drozdowski wrote:
Gotta a question whose answer should be really obvious to me but, for some reason, is just eluding me.

Which encodings can PHP handle for source files? I've been using iso-8859-1 but what about utf-8?

Try it?

5.0.6 seems to work fine with files from BBEdit saved as utf-8, but I don't know that there are any non-ISO-8859-1 characters in the file, so it's not a fair test.


--Because you can't cotton to evil. No Sir. You have to smack evil on the nose with the rolled-up newspaper of justice and say,'Bad evil. bad BAD evil'"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to