On Sat, Aug 01, 2009 at 12:24:28AM +0200, Daniel Schneller wrote:
> it would be advisable to require all files to be UTF-8 (search for Encoding
> in the Eclipse preference window) and specify UTF-8 explicitly in the Ant
> file
Another way out might be to side-step the whole issue by forbidding
non-ascii characters in code and using \u-notation instead. Some files
(such as DetectorsTest) already read 'Tom\u00e1s Pollak'.
It might be a 'chicken way out', but there's so many places where encoding
errors can occur (IDE's, other tools (like diffing tools), the version
control system and its related scripts, etc.), I rather like avoiding them
entirely. Even if it does look a bit silly :).
Arnout
_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss