]> source.dussan.org Git - redmine.git/commit
scm: Ruby 1.9 compatibility for diff, cat and blame (#2664).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Feb 2011 08:29:35 +0000 (08:29 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Feb 2011 08:29:35 +0000 (08:29 +0000)
commitd43284ba047606b86d03a4a0b6c34ab252b73629
tree9cff61928f5d5140ecf973a6064d1748908e6bc1
parent1d6fbe560219aabdbb51bc054563adf0c7979bde
scm: Ruby 1.9 compatibility for diff, cat and blame (#2664).

"\xC2\x80" of latin1(iso-8859-1) is valid sequence of UTF-8.
to_utf8() should not return string if it is UTF-8 valid_encoding.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4922 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/helpers/repositories_helper.rb