Re: PHP Source File Encoding
| From: | Google Kreme | Date: | Sat, 11 Nov 2006 21:20:11 +0000 |
| Subject: | Re: PHP Source File Encoding | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244507@lists.php.net to get a copy of this message | ||
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'"