summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/PathUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/PathUtils.java b/scripting/java/com/sun/star/script/framework/provider/PathUtils.java
index 48ca6c9a7cf7..5bea115ca4db 100644
--- a/scripting/java/com/sun/star/script/framework/provider/PathUtils.java
+++ b/scripting/java/com/sun/star/script/framework/provider/PathUtils.java
@@ -68,7 +68,7 @@ public class PathUtils {
{
buff.append('/');
}
- buff.append( java.net.URLEncoder.encode( (String)t.nextElement() ) ); }
+ buff.append( java.net.URLEncoder.encode( (String)t.nextElement(),"UTF-8" ) ); }
return buff.toString();
}