Update and fix OkJson #71

merged 2 commits into from May 17, 2012

2 participants


I had the following trouble which prevented jobs from being processed:

~/work/stylesclub∴ script/rails c
Loading development environment (Rails 3.2.2)
1.9.3-p125 :001 > JSON.parse '["Andra Gallh\u00f6fer"]'
 => ["Andra Gallhöfer"] 
1.9.3-p125 :002 > QC::OkJson.decode '["Andra Gallh\u00f6fer"]'
 => ["Andra Gallh\xF6fer"] 

It turned out that "module QC" line masks "# encoding: UTF-8" line in okjson.rb. I updated OkJson module and moved the "offender" down.


Thanks for the fix!

@ryandotsmith ryandotsmith merged commit 046189f into QueueClassic:master May 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment