Wierd character bug in PHP?

Wierd character bug in PHP?

am 08.04.2008 13:22:34 von Michael J Martin

Found an interesting one today. I've been editing some code in the
office and one of my editors, either Coda, SubEthaEdit, Scite or Geany
added an interesting character into my PHP source file.

Initially I thought it was a bug somewhere in my code. But I didn't
know about this hidden character until I viewed it as a phps file.

http://projects.mike-martin.com/fecking_bug.phps
http://projects.mike-martin.com/fecking_bug.php.txt


http://projects.mike-martin.com/fecking_bug.php - error it returns
http://projects.mike-martin.com/fecking_bug.php.gz - in case the txt
file doesn't contain the character.

Can anyone else reproduce it with the links I have just given?

I'm hoping Apache doesn't cause it to go away. Now I've got to go back
into all my code to see if it's crept in. I tried converting /
reinterpreting Line Endings and Encoding types - even to ASCII in Coda
but it still appears!

I know it's probably an encoding issue but surely one like this
shouldn't bring PHP down?

Mike