lucy24 - 9:37 pm on Sep 14, 2012 (gmt 0)
You've already diagnosed the problem. At this point, what are you looking for? You need to include a line in both places that explicitly sets the encoding. Or rather in all three places, since the final-destination html also has to have the same encoding. Don't just cross your fingers and hope that they'll come out the same.
Also check to make sure it behaves the same locally and online. Sometimes your ftp-or-equivalent turns out to be the culprit. (Voice Of Experience.)