On 03.03.2019 17:45, Bart wrote:
On Sun, Mar 3, 2019 at 11:17 AM Yuriy Sydorov <j...@cp-lab.com> wrote:


This is good if you assign the result of ReadString() to a regular ansistring 
var. But if you assign it to a
utf8string,unicodestring,widestring var - it will not return correct result for 
chars that are missing in the current
system code page. This is bad for a user app which is using unicodestring 
everywhere and don't bother with ansistrings
and their default code page.

Did you actually read this entire thread?

Yes. And I've made some tests and came to the conclusion above. In my opinion 
it is the most compatible approach.

Yury.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to