User Tools

Site Tools


it:eclipse

This is an old revision of the document!


Eclipse Tips

Text File Character Encoding

Rationale: Non-ASCII characters should be avoided in source code but sometimes they are necessary (e.g., a German resource bundle in XML format). I recommend setting the character encoding to UTF-8 for all text files to ease future reuse and cross platform development. AFAIK the default setting in Eclipse on Windows is Cp1252.

Setting text file character encoding for a Eclipse project.

_Warning:_ Java expects simple properties files in ISO 8859-1 character encoding http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html

it/eclipse.1328097447.txt · Last modified: 2012/02/01 12:57 by Alexander Rind

alex @ ieg: home about me publications research