Page 1 of 1

Format for ReadCharacter()

Posted: Sat Jun 27, 2009 1:01 pm
by Trond
We have ReadStringFormat() to detect the file format. But when we want to read characters from it, we're stuck with reading one or two bytes depending on the program's unicode mode. It's not possible to use the detected information to read a single character correctly.

Posted: Sat Jun 27, 2009 8:11 pm
by blueznl
Perhaps a 'length' parameter for ReadString would be more elegant? Dunno', actually :-)