contentsOfEntireFile

Zulq Alam zulq at orange.net
Sat Apr 8 07:51:56 UTC 2006


Hi,

I've observed some strange behavior when using #contentsOfEntireFile on 
FileStream for a file containing the character ’ (0x92).

For example, the following code will print the contents of the attached 
example file until it reaches this character.

| example |
example := FileStream fileNamed: 'example.txt'.
Transcript show: example contentsOfEntireFile.
example close.

By the way, I've no desire to use this character - it just happened to 
be in my test data.

Am I doing something wrong or is this an issue. If it is, how do I raise 
it properly?

I'm running 3.8-6665 on Windows XP.

Thanks,
Zulq.
-------------- next part --------------
This text will be shown. ’ This text will not be shown.


More information about the Squeak-dev mailing list