[squeak-dev] How do I tell FileStream not to barf on invalid UTF8 characters?

Levente Uzonyi leves at caesar.elte.hu
Fri Oct 22 14:32:14 UTC 2021


Your file should not have such invalid characters in the first place.
Is your file really UTF-8 encoded?

It's also not clear what you mean by "barf", so I'll just assume that it 
raises InvalidUTF8 errors.
You can suppress those globally by turning off the #strictUtf8Conversions 
preference.


Levente


More information about the Squeak-dev mailing list