summaryrefslogtreecommitdiff
path: root/test/psych/visitors
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-11-16 14:09:21 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-11-16 14:09:21 -0800
commit920cb81f6c6d9ce57c51a6df8fdc99b0d00f4c3a (patch)
treee1bd211d4f92c0f2aa5b8840f5b6d0275388e95c /test/psych/visitors
parent454f7f0256b2edf3a8a0dabfdacf82f65bde43c4 (diff)
downloadpsych-920cb81f6c6d9ce57c51a6df8fdc99b0d00f4c3a.tar.gz
* ruby.c (load_file_internal): set default source encoding as
UTF-8 instead of US-ASCII. [ruby-core:46021] [Feature #6679] * parse.y (parser_initialize): set default parser encoding as UTF-8 instead of US-ASCII. r37485
Diffstat (limited to 'test/psych/visitors')
-rw-r--r--test/psych/visitors/test_to_ruby.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/psych/visitors/test_to_ruby.rb b/test/psych/visitors/test_to_ruby.rb
index 5b0702c..ee473c9 100644
--- a/test/psych/visitors/test_to_ruby.rb
+++ b/test/psych/visitors/test_to_ruby.rb
@@ -1,3 +1,4 @@
+# coding: US-ASCII
require 'psych/helper'
module Psych