KCODE is gone
authorStephen Gran <steve@lobefin.net>
Sun, 31 May 2015 15:28:15 +0000 (16:28 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 31 May 2015 15:28:15 +0000 (16:28 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/puppetmaster/lib/puppet/parser/functions/whohosts.rb
modules/puppetmaster/lib/puppet/parser/functions/yamlinfo.rb

index b55204a..ca0d295 100644 (file)
@@ -8,8 +8,6 @@ module Puppet::Parser::Functions
     parser = Puppet::Parser::Parser.new(environment)
     parser.watch_file(yamlfile)
 
-    $KCODE = 'utf-8'
-
     ans = {"name" => "unknown"}
     yaml = YAML.load_file(yamlfile)
 
index b38f5d5..f53014d 100644 (file)
@@ -42,7 +42,6 @@ module Puppet::Parser::Functions
     }
 
     require 'yaml'
-    $KCODE = 'utf-8'
 
     yaml = YAML.load_file(yamlfile)
     ret = {}