[Pharo-project] Write accentuate characters in file

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Mon May 16 11:05:16 EDT 2011


On 16.05.2011 16:42, Adrien BARREAU wrote:
> Hello,
>
> 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: 'ééé'.
That IS the é character btw, in UTF8 encoding, but interpreted and 
displayed as MacRoman.

Cheers,
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110516/7f05e7c4/attachment.html>


More information about the Pharo-dev mailing list