[fpc-pascal] Unicode chars losing information

Ryan Joseph genericptr at gmail.com
Mon Mar 8 19:16:33 CET 2021

So I was indeed able to solve the problem using {$codepage utf8} and using the CWString unit. Does this do anything besides change the backend of the UnicodeString/UnicodeChar type? I using other string types in that unit and I'm curious if I've put some kind of performance burden on the other strings.

I agree it would be nice to have some warning that indexing the unicodeString wouldn't work as expected.

	Ryan Joseph

More information about the fpc-pascal mailing list