From: Olivier Date: 2007-01-08T08:06:22+09:00 Subject: Re: SparseFile Le dimanche 07 janvier 2007 22:07, Erik Veenstra a �crit�: > > What's the purpose of this strange String in the following > > line ? > > > > SPARSE_BLOCKS[length] ||= "%SCRIPT_SPARSEFILE%00" * length > > Oops... Should have been: > > SPARSE_BLOCKS[length] ||= "\000" * length > > The Ruby code which generates my site, does a gsub with a > string as the replacement. That means that "\0" has a special > meaning... ;] > > Using gsub in the block form seems to work.. > > Thanks. > > gegroet, > Erik V. - http://www.erikveen.dds.nl/ Oh yes, I really thought I was missing something :) Thanks ! -- Olivier Renaud