Are there any (known) changes to the compiler regarding string handling from Delphi 10.2 (or 11.0)to 11.2?
I don't have code, because I can't reproduce it yet, it's more of a feeling, that something is wrong.
We do a lot of serial communication. Parts of the code are rather old, but survived man Delphi version changes. Some of the code may be pre-Unicode but got modernized before my time and thus before source control, so I can't check the history. We read the ansichars that come via the serial connection and put them into chars and them into strings and work from there. I think that's not ideal because strings are unicode (nowadays) but so far it worked fine.
Recently we switched from Delphi 10.2 to 11.2 (with a short stint in 11.0, but I'm only 80% sure the error wasn't there). And now it only works like 99.9% of the time. (With our test systems everything works, but our customers have more "traffic).
The error is, that we get symbols we can't explain in positions where they don't belong. It looks like chars get converted to other hex values.
At the moment I'm just poking around, because the error is rare enough and we don't have a trace yet. But perhaps someone knows of a possible change to string/char handling with the most recent compiler versions.