diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-05-18 20:03:01 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-05-18 20:03:01 -0700 |
commit | 07667473d0ec204eb2cfa7b8938ae2f5010e3220 (patch) | |
tree | 475d3cab0e01901e30d49cd39a00f6e908cede0d /lib | |
parent | f43e454615714166c91b5628d3be644d560d97d1 (diff) | |
download | psych-07667473d0ec204eb2cfa7b8938ae2f5010e3220.zip |
adding UTF-16 and UTF-16+BOM support
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/nodes/stream.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |