[SOLVED] Replace UTF-8 characters in header id's and anchor links

The way to do the replacement is described here: