From 09a936041a97803c459c3ed4c89f9471d7168b93 Mon Sep 17 00:00:00 2001 From: Jakub Arnold Date: Mon, 7 May 2012 17:30:48 +0200 Subject: [PATCH] Set default Encoding to UTF_8 for Ruby 1.9 --- extras/textmate_import.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/textmate_import.rb b/extras/textmate_import.rb index cbf4f278..c8179076 100755 --- a/extras/textmate_import.rb +++ b/extras/textmate_import.rb @@ -19,6 +19,7 @@ require 'shellwords' # String#shellescape require 'ruby-debug' if $DEBUG +Encoding.default_external = Encoding::UTF_8 if RUBY_VERSION > '1.8.7' opts = Trollop::options do opt :bundle_dir, "TextMate bundle directory", :short => '-d', :type => :string