Monday, February 16, 2009

illegal character: \64 when running Eclipse on Mac OSX

I develop on a Mac. We use Luntbuild to automate our builds.

We added our new project into Luntbuild this morning. Luntbuild kicked this back :
[package name]/ChannelDetails.java:24: illegal character: \64
compile [ javac ] @Entity
Nice.

Our team has used OS X, Ubuntu, XP and Vista. We had not encountered this problem before.

Why wouldn't Eclipse just standardize on one character encoding?

The solution is to change the encoding by right clicking on the project and choose Properties -> Resource.

There are panels for "Text file encoding" and "New text file delimiter."

No comments: