summaryrefslogtreecommitdiffstats
path: root/lib/xsd
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-12 23:58:58 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-12 23:58:58 +0000
commit1b97e2dced8356c83b2252957814c6c840c507c0 (patch)
tree602bc3610dffc41408a62687773210b530974bb6 /lib/xsd
parentc926ac7e7355997f2590ae332c1857a856f31a5a (diff)
downloadruby-1b97e2dced8356c83b2252957814c6c840c507c0.tar.gz
ruby-1b97e2dced8356c83b2252957814c6c840c507c0.tar.xz
ruby-1b97e2dced8356c83b2252957814c6c840c507c0.zip
* io.c (rb_io_getc): use default external encoding if fptr->enc is
not set. [ruby-dev:32565] * lib/rubygems/package.rb (Gem::TarReader::Entry::rewind): typo fixed. [ruby-dev:32565] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xsd')
-rw-r--r--lib/xsd/charset.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xsd/charset.rb b/lib/xsd/charset.rb
index 15d5500fc..cd4d8a074 100644
--- a/lib/xsd/charset.rb
+++ b/lib/xsd/charset.rb
@@ -10,7 +10,7 @@ module XSD
module Charset
- @internal_encoding = $KCODE
+ @internal_encoding = "ASCII"
class XSDError < StandardError; end
class CharsetError < XSDError; end