From 909b2c1acf2eb18b7a75a8cb8af0154fc948fb01 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 21 Dec 2007 11:21:20 +0000 Subject: 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 --- activesupport/lib/active_support/multibyte/chars.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/multibyte') 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 -- cgit v1.2.3