title: Is there a PHP function to generate a pretty and valid URL from a natural text?
body: <p>I want to auto-generate a readable URL from any natural text, like this:</p>
  
  <blockquote>
    <p>Latest article: About German letters - Handling äöü and ß!</p>
  </blockquote>
  
  <p>would ideally be changed to this</p>
  
  <blockquote>
    <p>latest-article-about-german-letters-handling-aou-and-ss.html</p>
  </blockquote>
  
  <p>It should work for all latin based languages and I want to avoid any escaping. </p>
  
  <p>I guess this could be achieved by regular expressions, but perhaps there's already a standard function available in PHP/PEAR/PECL.</p>