<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer" nil="true"></assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">false</closed>
  <created-at type="datetime">2008-12-17T19:31:46+00:00</created-at>
  <creator-id type="integer">29192</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer">9903</milestone-id>
  <number type="integer">1592</number>
  <permalink>activesupportjsondecode-doesnt-unescape-unicode-characters</permalink>
  <priority type="integer">938</priority>
  <project-id type="integer">8994</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>new</state>
  <tag nil="true"></tag>
  <title>ActiveSupport::JSON.decode doesn't unescape unicode characters</title>
  <updated-at type="datetime">2009-06-30T19:54:49+01:00</updated-at>
  <user-id type="integer">17406</user-id>
  <user-name>Ken Miller</user-name>
  <creator-name>chad.ingram (at me)</creator-name>
  <url>http://rails.lighthouseapp.com/projects/8994/tickets/1592</url>
  <milestone-title>2.x</milestone-title>
  <original-body>@@@ ruby
&gt;&gt; s = &quot;{\&quot;test\&quot;: \&quot;\\u201cquoted\\u201d\&quot;}&quot;
=&gt; &quot;{\&quot;test\&quot;: \&quot;\\u201cquoted\\u201d\&quot;}&quot;
&gt;&gt; ActiveSupport::JSON.decode(s)
=&gt; {&quot;test&quot;=&gt;&quot;\\u201cquoted\\u201d&quot;}
&gt;&gt; require 'json'
=&gt; []
&gt;&gt; JSON.parse(s)
=&gt; {&quot;test&quot;=&gt;&quot;&#8220;quoted&#8221;&quot;}
@@@</original-body>
  <latest-body>@@@ ruby
&gt;&gt; s = &quot;{\&quot;test\&quot;: \&quot;\\u201cquoted\\u201d\&quot;}&quot;
=&gt; &quot;{\&quot;test\&quot;: \&quot;\\u201cquoted\\u201d\&quot;}&quot;
&gt;&gt; ActiveSupport::JSON.decode(s)
=&gt; {&quot;test&quot;=&gt;&quot;\\u201cquoted\\u201d&quot;}
&gt;&gt; require 'json'
=&gt; []
&gt;&gt; JSON.parse(s)
=&gt; {&quot;test&quot;=&gt;&quot;&#8220;quoted&#8221;&quot;}
@@@</latest-body>
  <original-body-html>&lt;div&gt;&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
&amp;gt;&amp;gt; s = &amp;quot;{\&amp;quot;test\&amp;quot;: \&amp;quot;\\u201cquoted\\u201d\&amp;quot;}&amp;quot;
=&amp;gt; &amp;quot;{\&amp;quot;test\&amp;quot;: \&amp;quot;\\u201cquoted\\u201d\&amp;quot;}&amp;quot;
&amp;gt;&amp;gt; ActiveSupport::JSON.decode(s)
=&amp;gt; {&amp;quot;test&amp;quot;=&amp;gt;&amp;quot;\\u201cquoted\\u201d&amp;quot;}
&amp;gt;&amp;gt; require 'json'
=&amp;gt; []
&amp;gt;&amp;gt; JSON.parse(s)
=&amp;gt; {&amp;quot;test&amp;quot;=&amp;gt;&amp;quot;&#8220;quoted&#8221;&amp;quot;}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>@@@ ruby
&gt;&gt; s = &quot;{\&quot;test\&quot;: \&quot;\\u201cquoted\\u201d\&quot;}&quot;
=&gt; &quot;{\&quot;test\&quot;: \&quot;\\u201cquoted\\u201d\&quot;}&quot;
&gt;&gt; ActiveSupport::JSON.decode(s)
=&gt; {&quot;test&quot;=&gt;&quot;\\u201cquoted\\u201d&quot;}
&gt;&gt; require 'json'
=&gt; []
&gt;&gt; JSON.parse(s)
=&gt; {&quot;test&quot;=&gt;&quot;&#8220;quoted&#8221;&quot;}
@@@</body>
      <body-html>&lt;div&gt;&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
&amp;gt;&amp;gt; s = &amp;quot;{\&amp;quot;test\&amp;quot;: \&amp;quot;\\u201cquoted\\u201d\&amp;quot;}&amp;quot;
=&amp;gt; &amp;quot;{\&amp;quot;test\&amp;quot;: \&amp;quot;\\u201cquoted\\u201d\&amp;quot;}&amp;quot;
&amp;gt;&amp;gt; ActiveSupport::JSON.decode(s)
=&amp;gt; {&amp;quot;test&amp;quot;=&amp;gt;&amp;quot;\\u201cquoted\\u201d&amp;quot;}
&amp;gt;&amp;gt; require 'json'
=&amp;gt; []
&amp;gt;&amp;gt; JSON.parse(s)
=&amp;gt; {&amp;quot;test&amp;quot;=&amp;gt;&amp;quot;&#8220;quoted&#8221;&amp;quot;}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-12-17T19:31:46+00:00</created-at>
      <creator-id type="integer">29192</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1592</number>
      <permalink>activesupportjsondecode-doesnt-unescape-unicode-characters</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>ActiveSupport::JSON.decode doesn't unescape unicode characters</title>
      <updated-at type="datetime">2008-12-17T19:31:48+00:00</updated-at>
      <user-id type="integer">29192</user-id>
      <user-name>chad.ingram (at me)</user-name>
      <creator-name>chad.ingram (at me)</creator-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1592</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Works for me as of Rails 2.3.2.

I suggest closing this ticket.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Works for me as of Rails 2.3.2.&lt;/p&gt;
&lt;p&gt;I suggest closing this ticket.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-05-02T01:09:59+01:00</created-at>
      <creator-id type="integer">29192</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1592</number>
      <permalink>activesupportjsondecode-doesnt-unescape-unicode-characters</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>ActiveSupport::JSON.decode doesn't unescape unicode characters</title>
      <updated-at type="datetime">2009-05-02T01:10:00+01:00</updated-at>
      <user-id type="integer">55836</user-id>
      <user-name>Lukas Fittl</user-name>
      <creator-name>chad.ingram (at me)</creator-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1592</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I'm seeing this in 2.1.2, but only on Linux (not Mac OS X).  Upgrading to 2.3.x soon, but it might be worth investigating whether this is platform-dependent in 2.3 as well.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm seeing this in 2.1.2, but only on Linux (not Mac OS X).
Upgrading to 2.3.x soon, but it might be worth investigating
whether this is platform-dependent in 2.3 as well.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-06-30T19:42:57+01:00</created-at>
      <creator-id type="integer">29192</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1592</number>
      <permalink>activesupportjsondecode-doesnt-unescape-unicode-characters</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>ActiveSupport::JSON.decode doesn't unescape unicode characters</title>
      <updated-at type="datetime">2009-06-30T19:43:03+01:00</updated-at>
      <user-id type="integer">17406</user-id>
      <user-name>Ken Miller</user-name>
      <creator-name>chad.ingram (at me)</creator-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1592</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Actually, scratch that.  Above code fails in OS X as well, but works in 2.3.2.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Actually, scratch that. Above code fails in OS X as well, but
works in 2.3.2.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-06-30T19:54:47+01:00</created-at>
      <creator-id type="integer">29192</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1592</number>
      <permalink>activesupportjsondecode-doesnt-unescape-unicode-characters</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>ActiveSupport::JSON.decode doesn't unescape unicode characters</title>
      <updated-at type="datetime">2009-06-30T19:54:49+01:00</updated-at>
      <user-id type="integer">17406</user-id>
      <user-name>Ken Miller</user-name>
      <creator-name>chad.ingram (at me)</creator-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1592</url>
      <milestone-title>2.x</milestone-title>
    </version>
  </versions>
</ticket>
