
Zitat von
himitsu:
BlockRead(F, Buf[i + 1], bytesToRead, bytesReaded);
Maybe thats the problem, because
Unicode (UTF-8) has variable length per char from 1 up to 4 Bytes.
Didn't test it - so maybe ...

Zitat von
himitsu:
Unicode Html File

Are you secure with the format?
Not that the files are UTF-8 coded for example.
But UTF-8 is
Unicode ->
Wikipedia UTF-8
Unicode
Transformation
Format
greetings
Oliver
Kaum macht man's richtig - schon funktioniert's

Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9
dc 90 9d f0 e9 de 13 da 60)