I’m coding my PHP files on a Windows box and my editor tells me I’m using Windows-1252 encoding for the PHP files. The files seem to work just fine in PHP 5.3 on Apache 2.x, also running on a Windows box.
The thing is, the editor just installed an updated version and it wants all my .php files to be UTF-8. This breaks a few scripts which explicitly look for Windows characters to clean them up.
What are the ramifications of keeping my .php source in Windows-1252? If I move the program to a Linux box, will this cause eventual execution problems? If I convert all my files to UTF-8, how would I represent those special Windows chars, which still need to be cleaned up?