diff options
-rw-r--r-- | lib/redmine/scm/adapters/abstract_adapter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index b1e64edd8..b774a8748 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -278,6 +278,7 @@ module Redmine def scm_iconv(to, from, str) return if str.nil? return str if to == from && str.encoding.to_s == from + str = str.dup str.force_encoding(from) begin |