[Pharo-project] Issue 5476: File Browser "Invalid utf8 input detected" when clicking on a binary file
March 14, 2012
1:12 p.m.
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 contents-reading calls. 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. http://code.google.com/p/pharo/issues/detail?id=5476
5253
Age (days ago)
5253
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexis Parseghian