Friday, February 18, 2011

Character encoding with MercurialEclipse

I'm posting this here since it took me some time to find it.

In Eclipse with Mercurial and MercurialEclipse, I have some files with UTF-8 encoding. When I compared these files, I would see differences at every line with an international character.

Solution: Change the project encoding to UTF-8 (Project Properties > Resource) and restart Eclipse.

No comments: