@@ -259,7 +259,6 class ChangesetTest < ActiveSupport::TestCase | |||||
259 |
|
259 | |||
260 | def test_comments_should_be_converted_all_latin1_to_utf8 |
|
260 | def test_comments_should_be_converted_all_latin1_to_utf8 | |
261 | with_settings :commit_logs_encoding => 'ISO-8859-1' do |
|
261 | with_settings :commit_logs_encoding => 'ISO-8859-1' do | |
262 | c = Changeset.new |
|
|||
263 | s1 = "\xC2\x80" |
|
262 | s1 = "\xC2\x80" | |
264 | s2 = "\xc3\x82\xc2\x80" |
|
263 | s2 = "\xc3\x82\xc2\x80" | |
265 | if s1.respond_to?(:force_encoding) |
|
264 | if s1.respond_to?(:force_encoding) |
General Comments 0
You need to be logged in to leave comments.
Login now