This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Converting forward slashes to backslashes
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
I'm mainly posting this example here for my own sanity, since every solution I've seen online is not unicode friendly (i.e. stops on single '\0' character), and usually does strdup'ing, etc.