Did you check the editors encoding settings? The files encoding?
What you describe is a classic example of BOM trouble