[squeak-dev] Re: VM Crashes when launched from home directory of
user with Polish characters
Andreas Raab
andreas.raab at gmx.de
Sat Jul 11 08:37:00 UTC 2009
Philippe Marschall wrote:
> 2009/7/11 Andreas Raab <andreas.raab at gmx.de>:
>> At Qwaq, we've changed our utf8ToSqueak version to assume that the input is
>> in Latin-1 when "invalid input" is encountered. That's because we've never
>> found a situation where one wouldn't be better off to silently accept the
>> input (regardless of whether it's actually UTF-8, Latin-1 or whatever else)
>> instead of blowing up. I wonder what people think about that?
>
> It is just a way of masking bugs. At that point the only thing you
> know is that the input is not utf-8. Coming up with some random
> encoding is likely to produce corrupted data. For Seaside this would
> be horrible.
Fair enough, that's why I'm asking ;-) But I'm curious, have you *ever*
actually encountered the situation where the error about "invalid utf8
input" has helped you? We haven't (not once) which is what led us to
make that change.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|