Call me crazy, but I must be missing some fundamental understanding
From what I can read on the JSON gem located here (http://
json.rubyforge.org/) this should be working but I’m getting a
JSON::GeneratorError. Any insight you may have is appreciated.
s = [“MyStuff \xAE”]
=> [“MyStuff \256”]
JSON::GeneratorError: source sequence is illegal/malformed
from (irb):16:in `to_json’
Since that string has a unicode char in it, should it not be escape to
\uXXXX when re convert to JSON?
Any help is appreciated.