Fix encoding

It seems some files are not encoded with UTF-8. This is a matter, at least
when building from ant file on a Unix system.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@c-s.fr>
Ignore dist directory
Merge pull request #1 from guyou/fixes

Somes minor fixes (encoding and ignore dist directory) - Thanks Guilhem!