It's odd that I've spent an hour searching the web for something that seems pretty simple: a script to change all the straight quotes and dashes in a regular utf-8 text file into proper typographic characters (like SmartyPants does, except it changes them into html entities). Vim has UniCycle, which makes those changes (curly quotes, em dashes, etc.) on the fly, but I want a script to do it for files that have already been created. Surely, people in the typography world have to do this every day...

Suggestions would be nice.

Cheers.

Ross