Page 1 of 1

Error compiling ZVariant unit for Delphi XE2

Posted: 13.06.2015, 12:10
by scarfagna
Error compiling ZVariant unit for Delphi XE2

at line 2495
Result.VUnicodeString := ZRawToUnicode(Pointer(Value.VUTF8String), Length(Value.VUTF8String), zCP_UTF8);

i changed it in
esult.VUnicodeString := ZRawToUnicode(Value.VUTF8String, Length(Value.VUTF8String));

it works but im not sure is the best solution.

regards
stefano