Commit 0cdc6c95 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #3481 from mjholgate/utf8-warning-to-stderr

[pod] Write the UTF-8 warning to stderr, rather than stdout.
parents 347a037a 88cfd7fd
#!/usr/bin/env ruby #!/usr/bin/env ruby
if Encoding.default_external != Encoding::UTF_8 if Encoding.default_external != Encoding::UTF_8
puts <<-DOC STDERR.puts <<-DOC
\e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding. \e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile: Consider adding the following to ~/.profile:
......
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