Dec. 30, 2017
12:57 p.m.
Hi Bernhard. The deprecation is still in progress. Now to setup encoding for MultiByteFileStream you should set #converter: (FileLocator imageDirectory / 'test.txt') asFileReference readStreamDo: [ :s | s converter: UTF8TextConverter new. s contents ] 2017-12-30 13:27 GMT+01:00 Bernhard Pieber <bernhard@pieber.com>:
I just saw that the FileStream hierarchy including MultiByteFileStream is deprecated. However, I can't find what file stream class should be used to read a UTF-8 encoded file instead. FileReference>>#readStreamDo: also uses MultiByteFileStream.
Can someone please point me to the right code?
Bernhard