[Pharo-project] Issue 5476: File Browser "Invalid utf8 input detected" when clicking on a binary file
a.parseg at gmail.com
Wed Mar 14 09:12:57 EDT 2012
Clicking on a file in the File Browser immediately loads a preview of
its contents. Works fine for text files, but when the file is binary
(eg .image, .png) the above error is raised.
Changeset attached in the issue, wrapping on:do: handler around
The fix as provided is really basic, just to catch the error and
display some kind of warning in the file browser itself. Actual proper
handling should probably be more refined.
More information about the Pharo-dev