Commit 420b75cf authored by Taras Kalapun's avatar Taras Kalapun

Update lib/cocoapods/generator/acknowledgements/markdown.rb

Forcing UTF-8 encoding on licenses generation. Fixes #530
parent 0360ab89
...@@ -28,7 +28,7 @@ module Pod ...@@ -28,7 +28,7 @@ module Pod
licenses_string = "#{title_from_string(header_title, 1)}\n#{header_text}\n" licenses_string = "#{title_from_string(header_title, 1)}\n#{header_text}\n"
@pods.each do |pod| @pods.each do |pod|
if (license = string_for_pod(pod)) if (license = string_for_pod(pod))
licenses_string += license licenses_string += license.force_encoding("utf-8")
end end
end end
licenses_string += "#{title_from_string(footnote_title, 2)}#{footnote_text}\n" licenses_string += "#{title_from_string(footnote_title, 2)}#{footnote_text}\n"
......
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