Just stumbled upon a nice tool for dealing with transliteration issues in URLs etc. - too bad it's PECL and I doubt it will be able to deal with dirty Unicode too... Link