aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/multibyte/chars.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-12-21 11:21:20 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-12-21 11:21:20 +0000
commit909b2c1acf2eb18b7a75a8cb8af0154fc948fb01 (patch)
tree4b3eb730b591e1fb79f9bc5775939310b767898d /activesupport/lib/active_support/multibyte/chars.rb
parent2556e674035a416cb98a336d96e7a5ea3d496ab6 (diff)
downloadrails-909b2c1acf2eb18b7a75a8cb8af0154fc948fb01.tar.gz
rails-909b2c1acf2eb18b7a75a8cb8af0154fc948fb01.tar.bz2
rails-909b2c1acf2eb18b7a75a8cb8af0154fc948fb01.zip
Multibyte: String#chars uses passthrough handler for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/multibyte/chars.rb')
-rw-r--r--activesupport/lib/active_support/multibyte/chars.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/multibyte/chars.rb b/activesupport/lib/active_support/multibyte/chars.rb
index b30214d947..2427f8c692 100644
--- a/activesupport/lib/active_support/multibyte/chars.rb
+++ b/activesupport/lib/active_support/multibyte/chars.rb
@@ -125,7 +125,7 @@ module ActiveSupport::Multibyte #:nodoc:
end
else
def utf8_pragma?
- !@string.nil? && (Encoding.default_external == Encoding::UTF_8)
+ false
end
end
end