Re: [fpc-devel] Copy() and ZeroBaseStrings

2025-04-07 Thread Sven Barth via fpc-devel
Bart via fpc-devel schrieb am Mo., 7. Apr. 2025, 19:40: > On Mon, Apr 7, 2025 at 8:17 AM Sven Barth via fpc-devel > wrote: > > > > Please report a bug. > Done: https://gitlab.com/freepascal.org/fpc/source/-/issues/41228 Turns out I had been too eager to request a bug report. But thank you neve

Re: [fpc-devel] Copy() and ZeroBaseStrings

2025-04-07 Thread Stefan Glienke via fpc-devel
No because the feature is related to the state of the ZBS switch at the source code location, not to the string instance. > On 07/04/2025 19:40 CEST Bart via fpc-devel > wrote: > > > On Mon, Apr 7, 2025 at 1:12 PM Marco van de Voort via fpc-devel > wrote: > > > IMHO it is a feature better

Re: [fpc-devel] Copy() and ZeroBaseStrings

2025-04-07 Thread Bart via fpc-devel
On Mon, Apr 7, 2025 at 8:17 AM Sven Barth via fpc-devel wrote: > Please report a bug. Done: https://gitlab.com/freepascal.org/fpc/source/-/issues/41228 -- Bart ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi

Re: [fpc-devel] Copy() and ZeroBaseStrings

2025-04-07 Thread Sven Barth via fpc-devel
Martin Frb via fpc-devel schrieb am Mo., 7. Apr. 2025, 08:13: > On 07/04/2025 08:01, Sven Barth via fpc-devel wrote: > > > > Also it would be best to simply document as UTF8Copy working 1-based > > because you can't detect from the callee-side whether it had been > > enabled on the caller-side (e

Re: [fpc-devel] Copy() and ZeroBaseStrings

2025-04-07 Thread Marco van de Voort via fpc-devel
Op 7-4-2025 om 08:13 schreef Martin Frb via fpc-devel: On 07/04/2025 08:01, Sven Barth via fpc-devel wrote: Also it would be best to simply document as UTF8Copy working 1-based because you can't detect from the callee-side whether it had been enabled on the caller-side (especially if they'r