I use file position data to get the file position when reading through a file, later on when the file is closed , and when new data needs to be read again i use seek to get to a certain position.
I found out that always when im in unicode_le - mode i must divide the position by 2 and then use seek function with that value, when in utf8 -mode i can use the position directly.
Is this intended and will it remain constant in future versions? If so i will not/never have to update the code.
Is the division with 2 not needed in octet -mode and ascii -mode?