contentsOfEntireFile

Andreas Raab andreas.raab at gmx.de
Sat Apr 8 08:01:23 UTC 2006


This is most likely related to http://bugs.impara.de/view.php?id=3440.

Cheers,
   - Andreas

Zulq Alam wrote:
> 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.
> 
> 
> ------------------------------------------------------------------------
> 
> This text will be shown. ’ This text will not be shown.
> 
> 
> ------------------------------------------------------------------------
> 
> 




More information about the Squeak-dev mailing list