Show
Ignore:
Timestamp:
01/02/07 14:24:57 (23 months ago)
Author:
mbonetti
Message:

More uniform handling of UTF-8 uri generation. Will probably need better
filtering in rss_uri(). Fix for #150, too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/util.php

    r1644 r1648  
    11561156} 
    11571157 
     1158function rss_uri($title, $sep='_') { 
     1159    return utf8_uri_encode(preg_replace('#[\s&/\+\'"\?]#',$sep,$title)); 
     1160} 
    11581161?>