[Pharo-project] Write accentuate characters in file

Adrien BARREAU abarreau.dev at live.fr
Mon May 16 16:42:58 CEST 2011


A small question I have: how can I write a "é" character in a file and >really< get it in Mac OS?
I tried with: 

  FileStream newFileNamed: 'test.txt' do: [ :each | each nextPutAll: 'ééé' ]

and got: 'ééé'.

I also tried with FileSystem and got : 'ÈÈÈ'.

I do not see another way to do that ...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20110516/52635516/attachment.htm>

More information about the Pharo-project mailing list