VB6 native text I/O seems to use some other ANSI-Unicode conversion (OLE? VB runtime?).

I wonder if FSO's TextStream.ReadLine & .WriteLine might work properly for UTF-8 text with this setting (and opened ANSI) though?

FSO.OpenTextFile docs say "ASCII" but I wonder if it really might use the current ANSI codepage with system codec calls like MultiByteToWideChar?


Line by line reading seems to be a common headache when working with MultiByteToWideChar manually to convert blocks of input text. You have to parse the blocks to extract whole lines and since CRLF might span blocks the logic gets a little tricky.