Friday, January 21, 2011

Fix UTF8 character encoding problem in Eclipse

Cross-platform character encoding

Eclipse uses the local character set of the operating system when editing source files. By default, Eclipse on Mac OS X uses the MacRoman character set. If you're working with Eclipse on a cross-platform project, it's better to use UTF-8 character encoding. To specify this encoding for all files in a project, right-click the project in the Package Explorer view, then click Properties. Beneath Text file encoding, select Other, then select UTF-8 from the list, as shown below.

1. Right click on the project and select properties
2. Click on resources
3. Click on Text File encoding button
4. Select UTF8 from the pull down menu

Setting up subversion (svn) on a Mac OSX 10.6 system for Eclipe

Setting up subversion (svn) on a Mac OSX 10.6 system for Eclipe