On Mon, Sep 28, 2009 at 5:19 AM, Andy <[email protected]> wrote:

>> I've getting data like this:
>>
>> <![CDATA[a:1:{i:0;s:6:&quot;Sometext&quot;;}]]>
>>
>> I know in PHP I can unserialize and decode, but I'm not sure the best
>> way to do it in Rails.

If you know that, you presumably know how it's being encoded to
start with. I don't recognize that format at all, so you might want to
provide a little more info, like WTF is it? Or e.g. what PHP function
turns XML into the above, or extracts XML from it?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to