Strange results in windows in aFileStream of a filename with chars like "ção"
Sebastian Sastre
ssastre at seaswork.com
Thu Jan 4 12:55:50 UTC 2007
Hi there,
yesterday I've open a StandardFileStream in windows on a file which has
a name with latin characters like "....ção".
The code was something like:
[fileStream := StandardFileStream fileName: myFilename.
text := fileStream contents ] ensure: [fileStream close].
The text var allways has an empty string. No exceptions nor walbacks.
My workarround was just to rename the file to a plain non latin ascii
for the filename. Then everything was as expected.
Cheers,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070104/e06eb393/attachment.htm
More information about the Squeak-dev
mailing list
|