diff options
Diffstat (limited to 'inc/search.php')
-rw-r--r-- | inc/search.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php index 46b36f816..ebc7eda9d 100644 --- a/inc/search.php +++ b/inc/search.php @@ -324,7 +324,8 @@ function sort_search_fulltext($a,$b){ * @author Andreas Gohr <andi@splitbrain.org> */ function pathID($path){ - $id = str_replace('/',':',$path); + $id = utf8_decodeFN($path); + $id = str_replace('/',':',$id); $id = preg_replace('#\.txt$#','',$id); $id = preg_replace('#^:+#','',$id); $id = preg_replace('#:+$#','',$id); |