Masaaji! ^_^

About

Massaji is pretty much the Japanese word for massage right? At least that's what Chris Oliver tells me.

Install

$ gem install massaji

Use

So you're using Salesforce to enter some text for things in your business. Currently you have some text that looks like:

$ text="whatever.com is where dinosaur\\342\\200\\231s authomobiles, books  & toys
are exchanged for whatever online.  Connect with thousands of dinos online 
to exchange full boxes of stuff you no longer uses for stuff they 
actually need."

This doesnt work very well, we don't want whacky extra characters. In the above example, we're simply looking for an apostrophe. We need to run this through a spa to get all of the bad "knots" out.

$ text = Massaji::Spa.new(text)
$ => "<p>whatever.com is where dinosaur's authomobiles, books  & toys
are exchanged for whatever online.  Connect with thousands of dinos online 
to exchange full boxes of stuff you no longer uses for stuff they 
actually need.</p>"

Great success!

Contribute

I'd love help on finding more of these errors. For the random number codes I don't understand, I'm simply removing the characters all together. Please send me pull requests for all of those beautiful new errors you find that I missed.

Credit where credit is due

This was first pointed out to me by Mike Hsieh of Plum District of who I am employed under and developing this for.

LICENSE

See LICENSE.