Missing chars problem with ActiveSupport::JSON.decode

Hi guys, I spotted a problem when encoding and decoding a string that
contained a few accented characters in it.

The issue doesn't present itself when done through the JSON.parse
method from the "json" gem... but we all know what happens if we
require that gem inside a Rails app... :frowning:

Anyways, here is the problem illustrated: http://pastie.org/497986
Any tips, advices, pointers on this?

Regards.

Hi guys, I spotted a problem when encoding and decoding a string that
contained a few accented characters in it.

The issue doesn't present itself when done through the JSON.parse
method from the "json" gem... but we all know what happens if we
require that gem inside a Rails app... :frowning:

This should be fixed when we release 2.3.3, we've backported the
'nicer to_json' changes from 3.0 which should allow for pluggable
backends.

Anyways, here is the problem illustrated: http://pastie.org/497986
Any tips, advices, pointers on this?

Could you provide us with a failing test case for activesupport?