title: Java: read bytes from a utf-8 file
body: <p>I have a file which contains UTF-8 data. This file does not have any BOM (Byte order mark) nor any length/size information as prefix for each unicode word/line.</p>
  
  <p>I want to read bytes (yes bytes!), from a given offset and length. If the API has functions like seek, read bytes, or read bytes from an offset, it would be really helpful. </p>
  
  <p>Example Content - "100° Info", For this content length is 9, If i request to read 9 bytes, it should read everything. Currently it's reading only 8. It looks like the API is treating the Unicode character as 2 chars.</p>
  
  <p>How to read the content correctly? Which API to use for the same?</p>