As far as I can tell, Xtreams fails when the encoding calls next more
than once as part of nextFrom: operation. (utf16/32, ucs-2, utf8 with
non-ascii chars etc.)
There's handling in EnodeReadStream>>read:into:at:, but it only fires
when char returned is nil, not when there's an exception in the
nextFrom: due to a too small buffer causing consecutive next's to fail..
Should be reproducable with any file with more than two bytes.
|file|
file := (Filename named: 'test.txt') reading encoding: #UTF16.
[file get] ensure: [file close]
Cheers,
Henry
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc