commit
41dfc46717
@ -40,7 +40,7 @@ def initialize(connection)
|
|||||||
def header(stream)
|
def header(stream)
|
||||||
define_params = @version ? ":version => #{@version}" : ""
|
define_params = @version ? ":version => #{@version}" : ""
|
||||||
|
|
||||||
if stream.respond_to?(:external_encoding)
|
if stream.respond_to?(:external_encoding) && stream.external_encoding
|
||||||
stream.puts "# encoding: #{stream.external_encoding.name}"
|
stream.puts "# encoding: #{stream.external_encoding.name}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user