mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
Use UTF-8 when reading in yasnippet.el
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -3,7 +3,7 @@
|
|||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
||||||
def find_version
|
def find_version
|
||||||
File.read("yasnippet.el") =~ /;; Package-version: *([0-9.]+?) *$/
|
File.read("yasnippet.el", :encoding => "UTF-8") =~ /;; Package-version: *([0-9.]+?) *$/
|
||||||
$version = $1
|
$version = $1
|
||||||
end
|
end
|
||||||
find_version
|
find_version
|
||||||
|
|||||||
Reference in New Issue
Block a user