Fix for file in of UTF8 files (part 2).
When guessing an encoding, DO NOT change position. caller
may want (and often wants) all data.
--- a/EncodedStream.st Wed Mar 27 12:24:15 2013 +0000
+++ b/EncodedStream.st Wed Mar 27 17:12:46 2013 +0000
@@ -59,8 +59,12 @@
decoder := CharacterEncoder nullEncoderInstance.
].
decodedStream := self stream:aStream encoder:decoder.
- decodedStream skipEncodingChunk.
+ "JV@2012-03-27: NO, DO NOT CHANGE POSITION!! Caller might be interested
+ in all data!!!!!!"
+ "/decodedStream skipEncodingChunk.
^ decodedStream
+
+ "Modified: / 27-03-2013 / 17:08:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!EncodedStream methodsFor:'accessing'!