While wading through all these old blog posts, I keep running into mangled Unicode characters. I’ve had this problem ever since I started blogging in 2000, but I never knew the source of the error.
This led me to creating a Ruby script to replace the most common mangled Unicode characters I’ve come across so far, adding more as I get through my old blog posts.
(This technique was lifted from a Stack Overflow answer on how to replace multiple substrings in a single call to the gsub method.)
It so happens that a lot of the mangled Unicode characters I run into used to be smart quotes, and I stumbled upon this phenomenon:
I miss reading Barking Up the Wrong Tree. I used to read it a lot more when Google Reader was still alive. Now I’m lucky if a bunch of people share links from it to Facebook.
I’ve been meaning to read this article for a while.