mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Set default Encoding to UTF_8 for Ruby 1.9
This commit is contained in:
parent
ed85eb488b
commit
09a936041a
@ -19,6 +19,7 @@ require 'fileutils'
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user