summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-20 14:51:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-20 21:18:32 +0100
commitb23deda0bbd27c424bd1b8bac3e8655cc1de620f (patch)
treee325968dd63b23260a78d66fb544cb1296c8e4fa /swext
parent8da886989b9f60fbcbd2c7eac5db47128030b1aa (diff)
coverity#1327463 Dm: Dubious method used
Change-Id: I452603d75aa2e96d4c5e7fc00d730c98a265c186
Diffstat (limited to 'swext')
-rw-r--r--swext/mediawiki/src/com/sun/star/wiki/Helper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/Helper.java b/swext/mediawiki/src/com/sun/star/wiki/Helper.java
index 8a15621384ed..020889965e6a 100644
--- a/swext/mediawiki/src/com/sun/star/wiki/Helper.java
+++ b/swext/mediawiki/src/com/sun/star/wiki/Helper.java
@@ -770,7 +770,7 @@ public class Helper
connPost.setDoOutput(true);
connPost.connect();
- OutputStreamWriter post = new OutputStreamWriter(connPost.getOutputStream());
+ OutputStreamWriter post = new OutputStreamWriter(connPost.getOutputStream(), "UTF-8");
post.write("wpName=");
post.write(URLEncoder.encode(sWikiUser, "UTF-8"));
post.write("&wpRemember=1");