private ProjectFile handleByteOrderMark ( InputStream stream , int length , Charset charset ) throws Exception { UniversalProjectReader reader = new UniversalProjectReader ( ) ; reader . setSkipBytes ( length ) ; reader . setCharset ( charset ) ; return reader . read ( stream ) ; }
The file we are working with has a byte order mark . Skip this and try again to read the file .