I'm working with UTF-8 encoding in PHP and I keep managing to get the output just as I want it. And then without anything happening with the code, the output all of a sudden changes.

Previously I was getting hebrew output. Now I'm getting "&&&&&".

Any ideas what might be causing this?