On 2010-03-31, at 12:08 AM, Andreas Raab wrote:
That fails as well. Help! What am I doing wrong? How does one copy the sources file properly and why do the above methods not work?
Cheers,
- Andreas
Well both streams are those funky MultiByteFileStream
Soooo.
(a) your UTF8 data in the SourceFiles at: 1 is bad? (b) your MultiByteFileStream reader code is bad? (c) your MultiByteFileStream writer code is bad? (d) newFile position = sourcesFile size isn't what you think it is/does...
Or combinations of above.
Likely you want to run some nice text compare tool on the two files outside of squeak and see how sane things are.
-- =========================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================