May 16, 2011
3:12 p.m.
On Mon, May 16, 2011 at 5:09 PM, Sven Van Caekenberghe <sven@beta9.be> wrote:
FileStream newFileNamed: '/tmp/foo.txt' do: [ :each | each nextPutAll: 'ééé' ].
(FileStream fileNamed: '/tmp/foo.txt') upToEnd 'ééé'
sure, you stay in UTF-8 all along. You will see the problem if you visualise the file within a MacOS X file editor that is configured to display MacRoman by default. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry