|
|
@ -28,7 +28,6 @@ module GitHelper
|
|
|
|
elsif cd['encoding'].blank?
|
|
|
|
elsif cd['encoding'].blank?
|
|
|
|
raise("ERROR_UTF8")
|
|
|
|
raise("ERROR_UTF8")
|
|
|
|
else
|
|
|
|
else
|
|
|
|
Rails.logger.info("####encoding:#{content.encoding}")
|
|
|
|
|
|
|
|
content.force_encoding('UTF-8')
|
|
|
|
content.force_encoding('UTF-8')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|