On 11/30/2013 07:59 AM, Adam D. Ruppe wrote: > tempBuffer[name.length] = 0; // make sure it is zero terminated > yourself Because char.init is not 0 in D: :) assert(tempBuffer[name.length + 1] == '\xff'); Ali