On Thursday, 16 September 2021 at 10:48:19 UTC, bauss wrote: > > Use toStringz and not .ptr. > > Or append \0 to your string. Stupid me should really know that already, thanks =) Of course I have dup'ed the \0 from the string away... But still I don't know why it works if the GC is off?