Use UTF-8 when reading in yasnippet.el

This commit is contained in:
João Távora 2012-07-18 16:12:07 +01:00
parent 19180200d9
commit d7921cfc22

View File

@ -3,7 +3,7 @@
require 'fileutils'
def find_version
File.read("yasnippet.el") =~ /;; Package-version: *([0-9.]+?) *$/
File.read("yasnippet.el", :encoding => "UTF-8") =~ /;; Package-version: *([0-9.]+?) *$/
$version = $1
end
find_version