[Newbies] UTF-8 Streams

Bert Freudenberg bert at freudenbergs.de
Thu Jan 21 18:12:11 UTC 2010


On 21.01.2010, at 18:08, Ole Voß wrote:
> 
> Uhm, ok, I get it ;-)
> 
> I'll rephrase that... how do I ensure that a UTF-8 textfile will be read and recognised as such using Squeak (or Pharo) smalltalk? I was expecting some sort of decoding mechanisms or a method of telling Squeak this String or Stream is now utf-8.
> 
> A hint? Anybody? Please? Pretty Please?

	aStream converter: UTF8TextConverter new.

(which in Squeak is the default nowadays, just inspect a new file stream ...)

- Bert -




More information about the Beginners mailing list