mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 08:16:03 +01:00
Decode hexadecimal-encoded literals in order to be frozen string literals friendly (#31004).
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -236,7 +236,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase
|
||||
|
||||
def test_log_encoding_ignore_setting
|
||||
with_settings :commit_logs_encoding => 'windows-1252' do
|
||||
s2 = "\xc3\x82\xc2\x80".force_encoding('UTF-8')
|
||||
s2 = "Â\u0080"
|
||||
c = Changeset.new(:repository => @repository,
|
||||
:comments => s2,
|
||||
:revision => '123',
|
||||
|
||||
Reference in New Issue
Block a user