rails/rails — pull request #4808 by route (2012-01-31 22:18:56+00:00)
Title: Added as_json method for multibyte strings

For multibyte strings we need as_json method. Multibyte strings are object and if we are calling "text".mb_chars.as_json then result will be {"wrapped_string"=>"text"} although I've expected a string.