File position always starts at 1. File position interpretation depends on the file encoding.
- In "binary" encoding : the position is expressed in bytes.
- In "utf8" or "unicode" encoding : the position is expressed in characters (and you don't have to care about BOM).