diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-12-21 11:21:20 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-12-21 11:21:20 +0000 |
commit | 909b2c1acf2eb18b7a75a8cb8af0154fc948fb01 (patch) | |
tree | 4b3eb730b591e1fb79f9bc5775939310b767898d /activesupport/lib/active_support/multibyte | |
parent | 2556e674035a416cb98a336d96e7a5ea3d496ab6 (diff) | |
download | rails-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')
-rw-r--r-- | activesupport/lib/active_support/multibyte/chars.rb | 2 |
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 |