From 07667473d0ec204eb2cfa7b8938ae2f5010e3220 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 18 May 2010 20:03:01 -0700 Subject: adding UTF-16 and UTF-16+BOM support --- lib/psych/nodes/stream.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/psych/nodes/stream.rb b/lib/psych/nodes/stream.rb index f4aab5a..7cf5e03 100644 --- a/lib/psych/nodes/stream.rb +++ b/lib/psych/nodes/stream.rb @@ -21,7 +21,7 @@ module Psych UTF16BE = Psych::Parser::UTF16BE # The encoding used for this stream - attr_reader :encoding + attr_accessor :encoding ### # Create a new Psych::Nodes::Stream node with an +encoding+ that -- cgit v1.2.3