diff --git a/inc/html.php b/inc/html.php
index cb5496ccdd114cbd1f5e7b8856d64d675da52cda..4761ade9961485ba3de95048885e6ccb2cc740fa 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -698,7 +698,7 @@ function html_index($ns){
     $ns = dirname(str_replace(':','/',$ID));
     if($ns == '.') $ns ='';
   }
-  $ns  = str_replace(':','/',$ns);
+  $ns  = utf8_encodeFN(str_replace(':','/',$ns));
 
   print parsedLocale('index');