Permalink
Browse files

Merge pull request #148 from darthdeus/master

External encoding set to UTF-8 on Ruby 1.9 to fix crash caused by non-ascii characters in pod description
  • Loading branch information...
2 parents 1e2f63d + 8feb7fd commit 72e9416ea15f436ff5c9fe4ae0f446a8aca29ba7 @alloy alloy committed Mar 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/pod
View
@@ -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 72e9416

Please sign in to comment.