1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 04:09:38 +00:00

Reverts r14115 in trunk.

git-svn-id: http://svn.redmine.org/redmine/trunk@14117 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-03-15 20:27:12 +00:00
parent 3f46dfdee9
commit 12263ae626

View File

@ -243,7 +243,7 @@ END_SRC
private
def force_utf8_strings(arg)
if arg.is_a?(String) && arg.respond_to?(:force_encoding)
if arg.is_a?(String)
arg.dup.force_encoding('UTF-8')
elsif arg.is_a?(Array)
arg.map do |a|