This project is archived and is in readonly mode.

Changeset [f3abc8ac36055afed9fcc902c33ee146e066d17a] by Norman Clarke

May 21st, 2010 @ 08:24 PM

Use multibyte proxy class on 1.9, refactor Unicode.

Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding.

Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency.

[#4594 state:resolved]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/f3abc8ac36055afed9fcc902c33ee1...

Committed by Norman Clarke

  • A activesupport/lib/active_support/multibyte/unicode.rb
  • R activesupport/lib/active_support/multibyte/unicode_database.rb
  • M activesupport/CHANGELOG
  • M activesupport/bin/generate_tables
  • M activesupport/lib/active_support/core_ext/string/multibyte.rb
  • M activesupport/lib/active_support/inflector/transliterate.rb
  • M activesupport/lib/active_support/multibyte.rb
  • M activesupport/lib/active_support/multibyte/chars.rb
  • M activesupport/lib/active_support/values/unicode_tables.dat
  • M activesupport/test/core_ext/string_ext_test.rb
  • M activesupport/test/multibyte_chars_test.rb
  • M activesupport/test/multibyte_conformance.rb
  • M activesupport/test/multibyte_unicode_database_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>