Detect line endings

"Wetzold, Robert" <[email protected]> Fri, 8 Jul 2011 19:17:58 +0200
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <D35B4A582834DC418CCF9AF41AB69B70036693340D@DEWDFECCR04.wdf.sap.corp>
Hi,

is it possible to check which line encoding has been used in our java and xml files with checkstyle? We want to enforce unix line endings and get an error if someone checks in files with different encodings (e.g. windows or mac).


Regards, Robert

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user