aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/multibyte_handler_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ruby 1.9 compat: declare utf-8 file encodingJeremy Kemper2008-02-021-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multibyte: String#chars returns self for Ruby 1.9Jeremy Kemper2007-12-211-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8460 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multibyte: String#chars uses passthrough handler for Ruby 1.9Jeremy Kemper2007-12-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typos (closes #10378)David Heinemeier Hansson2007-12-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multibyte: String#slice supports regexp argument. Closes #9646.Jeremy Kemper2007-10-151-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ljust, rjust and center to utf8-handler. Closes #9165 [manfred]Michael Koziarski2007-08-051-0/+51
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for []= on ActiveSupport::Multibyte::Chars. Closes #9142. [ewan, ↵Marcel Molina2007-07-311-0/+34
| | | | | | manfred] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActiveSupport::Multibyte::Handlers::UTF8Handler should raise when a range ↵Rick Olson2007-01-231-0/+3
| | | | | | and an integer are passed in (just like the native implementation). Closes #7176 [Rich Collins] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure Chars#tidy_bytes only tidies broken bytes. Closes #6397 [Manfred ↵Michael Koziarski2006-10-171-2/+5
| | | | | | Stienstra] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make String#chars slicing behaviour consistent with String. Closes #6387 ↵Michael Koziarski2006-10-121-1/+3
| | | | | | [Manfred Stienstra] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pull in latest multibyte patch. Closes #6346 [Manfred Stienstra]Michael Koziarski2006-10-041-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveSupport::Multibyte. Provides String#chars which lets you deal ↵Michael Koziarski2006-10-031-0/+261
with strings as a sequence of chars, not of bytes. Closes #6242 [Julian Tarkhanov, Manfred Stienstra & Jan Behrens] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de