summaryrefslogtreecommitdiff
path: root/bin/dwpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dwpage.php')
-rwxr-xr-xbin/dwpage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dwpage.php b/bin/dwpage.php
index 211bc5a9e..bc9c0f6bb 100755
--- a/bin/dwpage.php
+++ b/bin/dwpage.php
@@ -241,7 +241,7 @@ switch ( $OPTS->arg(0) ) {
$TARGET_FN = $OPTS->arg(2);
if ( empty($TARGET_FN) ) {
- $TARGET_FN = getcwd().'/'.basename($WIKI_FN);
+ $TARGET_FN = getcwd().'/'.utf8_basename($WIKI_FN);
}
if ( !file_exists(dirname($TARGET_FN)) ) {