Defect #6256

Updated by Toshi MARUYAMA almost 6 years ago

If source file contains less than 30% of ascii symbols - redmine threats it as binary.
It's affected when browsing repository:
(redmine just starts downloading, not showing source file).
The problem is that redmine relies on string method
I understand this is ruby problem, but redmine could do some more checks - at least check for BOM marks.

more information here: