lib/tmx-parser.rb in tmx-parser-1.0.0 vs lib/tmx-parser.rb in tmx-parser-1.0.1

- old
+ new

@@ -12,9 +12,9 @@ autoload :Variant, 'tmx-parser/elements' autoload :Placeholder, 'tmx-parser/elements' autoload :BeginPair, 'tmx-parser/elements' autoload :EndPair, 'tmx-parser/elements' - def self.load(string_or_file_handle) - Document.new(string_or_file_handle) + def self.load(string_or_file_handle, encoding = Encoding.default_external) + Document.new(string_or_file_handle, encoding) end end