From: Thomas W. <wi...@ac...> - 2005-12-30 00:15:25
|
Sean, Sean Parent wrote: > New hypothesis, > > After looking at the code there is the following line in > express_viewer.hpp > --- > adobe::replace( filtered, '\r', '\n' ); > --- > > My guess is that this is there to handle \r to \n conversion on the Mac > - but this is also getting applied on Windows. > > The result is that the file which was \r\n windows line endings now has > \n\n line endings which are then getting converted by the windows > stream code to \r\n\r\n which is what I'm seeing in the final file - Yup, I think that's what happens. In my local copy I use text mode for reading and I've removed that line. Works as long as you don't have files from other plattforms. Thomas -- Thomas Witt wi...@ac... |