Commit ba3ddee9 authored by Eric Davis's avatar Eric Davis

[#444] Remove extra variable

parent f518251d
......@@ -259,10 +259,10 @@ class Changeset < ActiveRecord::Base
end
end
else
ic = Iconv.new('UTF-8', normalized_encoding)
txtar = ""
begin
txtar += ic.iconv(str)
txtar += Iconv.new('UTF-8', normalized_encoding).iconv(str)
rescue Iconv::IllegalSequence
txtar += $!.success
str = '?' + $!.failed[1,$!.failed.length]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment