@@ -261,8 +261,8 class ChangesetTest < ActiveSupport::TestCase | |||||
261 | s1 = "\xC2\x80" |
|
261 | s1 = "\xC2\x80" | |
262 | s2 = "\xc3\x82\xc2\x80" |
|
262 | s2 = "\xc3\x82\xc2\x80" | |
263 | if s1.respond_to?(:force_encoding) |
|
263 | if s1.respond_to?(:force_encoding) | |
264 | s3 = s1 |
|
264 | s3 = s1.dup | |
265 | s4 = s2 |
|
265 | s4 = s2.dup | |
266 | s1.force_encoding('ASCII-8BIT') |
|
266 | s1.force_encoding('ASCII-8BIT') | |
267 | s2.force_encoding('ASCII-8BIT') |
|
267 | s2.force_encoding('ASCII-8BIT') | |
268 | s3.force_encoding('ISO-8859-1') |
|
268 | s3.force_encoding('ISO-8859-1') |
General Comments 0
You need to be logged in to leave comments.
Login now