Merged r23308 from trunk to 6.0-stable (#41860).

git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23314 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2024-11-25 23:38:59 +00:00
parent 63fa6f2822
commit 37e1254749

View File

@@ -83,8 +83,7 @@ class WikiContentVersion < ApplicationRecord
# uncompressed data
data
end
str.force_encoding("UTF-8")
str
(+str).force_encoding('UTF-8')
end
end