I checked the changesets for the relevant code, we fixed the character set encoding between 2.5.4 and 2.5.5 but as far as I can see no changes after that to the characterset or contentencoding...
In any case, using a more recent version is always recommended, is there any particular reason that you can't/don't want to upgrade?