Explicitly set the encoding of ChangeLog file to UTF-8 [ci skip]
This commit is contained in:
parent
7f6bd6bb1c
commit
ab35876444
@ -636,6 +636,7 @@ class VCS
|
|||||||
cmd << date
|
cmd << date
|
||||||
cmd.concat(arg)
|
cmd.concat(arg)
|
||||||
File.open(path, 'w') do |w|
|
File.open(path, 'w') do |w|
|
||||||
|
w.print "-*- coding: utf-8 -*-\n\n"
|
||||||
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
|
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
|
||||||
while s = r.gets("\ncommit ")
|
while s = r.gets("\ncommit ")
|
||||||
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')
|
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user