<br>Nestor via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> napsal St, led 4, 2017 v 12∶03 :<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Hi,

I was just trying to parse a UTF-16LE file using byLine, but apparently this function doesn't work with anything other than UTF-8, because I get this error:

"Invalid UTF-8 sequence (at index 1)"

How can I achieve what I want, without loading the entire file into memory?

Thanks in advance.</div></blockquote>can you show your code, byLine should works ok, and post some example of utf16-le file which does not works