On Sun, Aug 31, 2008 at 11:37:33PM +0200, Andre Poenitz wrote: > On Sun, Aug 31, 2008 at 04:37:17PM +0200, Enrico Forestieri wrote: > > > > + Encoding const * encoding = 0; > > > > + if (inset.isBufferValid()) > > > > + encoding = inset.buffer().language()->encoding(); > > > > + WriteStream wi(ls, false, true, false, encoding); > > > > > > Is this curing the problem or just a workaround? > > > > AFAIK the encoding bit cures the iconv problem, the isBufferValid() bit > > is a workaround, but it WFM. > > > > > Why can inset.isBufferValid() be false at that point? > > > > Good question. > > So please don't submit until this is answered. Brushing over symptoms > does not help maintanance in the long run.
I answered that. Please, read my other followup. -- Enrico