Yes you right, code is normal, but result is not same.
if I add this utf8 parameters, result is all Items is zero, this mean nothing there, but when I remove utf8 parameter, ar has a value. I'm talk about this.

On 19.02.2015 14:39, Mattias Gaertner wrote:
What is wrong with "wFileStr.Read(ar, 4);"?
It only reads bytes. No strings involved. Has nothing to do with UTF8.

Mattias


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to