April 12, 2012
3:20 p.m.
Here is what I came up with: anFSReference fileStreamDo: [ :s | | ms | ms := MultiByteFileStream newFrom: s. [ ms nextPutAll: self ] ensure: [ ms close ] ]. This seems overly complicated. What's a better way? Also, there are a bunch of unresolved threads floating around. How do we make the solution more obvious? At minimum, some method comments? http://forum.world.st/String-ByteString-and-WideString-td2309186.html http://forum.world.st/Default-String-encoding-when-storing-to-file-td1301313... http://forum.world.st/FS-writestream-td3810173.html#a3810254 Thanks! Sean -- View this message in context: http://forum.world.st/Write-WideString-to-file-tp4552216p4552216.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.