[fpc-pascal] TStringHelper and Utf8String

Ondrej Pokorny lazarus at kluug.net
Fri Aug 28 20:49:52 CEST 2026


Am 28.08.2026 um 18:42 schrieb Thomas Kurz via fpc-pascal:
> However, the remaining questions are:
>
> 1) Is the explicit cast guaranteed to preserve the underlying string and its dynamic codepage without conversion, or is this only an implementation detail?

It's very well documented: 
https://www.freepascal.org/daily/doc/ref/refsu9.html#x32-39000

Yes - no conversion is guaranteed.


> 2) Are there any plans for making the string helpers available with Utf8String and RawByteString, too?

I can't answer this question.

Ondrej



More information about the fpc-pascal mailing list