Skip to content
Browse files

External encoding set to UTF-8 on Ruby 1.9 to fix crash caused by non…

…-ascii characters in pod description
  • Loading branch information...
1 parent 1e2f63d commit 8feb7fd9b0115ff97bf240ced721dec7de3f3275 @darthdeus committed Mar 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/pod
View
2 bin/pod
@@ -1,5 +1,7 @@
#!/usr/bin/env ruby
+Encoding.default_external = Encoding::UTF_8 if RUBY_VERSION > '1.8.7'
+
if $0 == __FILE__
$:.unshift File.expand_path('../../external/Xcodeproj/ext', __FILE__)
$:.unshift File.expand_path('../../external/Xcodeproj/lib', __FILE__)

0 comments on commit 8feb7fd

Please sign in to comment.
Something went wrong with that request. Please try again.