diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 14:50:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 21:18:32 +0100 |
commit | 8da886989b9f60fbcbd2c7eac5db47128030b1aa (patch) | |
tree | bdefbced701ea2f08e3287fec85c366c1392f4e4 /swext/mediawiki | |
parent | 03828157f4bf252a37dc8f745f163fc70f4c166c (diff) |
coverity#1327464 Dm: Dubious method used
Change-Id: I7fb3182f181909a289f4253370904215518c1f23
Diffstat (limited to 'swext/mediawiki')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java index 58638b5442ee..a576ef9c732e 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiArticle.java @@ -204,7 +204,7 @@ public class WikiArticle connPost.setDoOutput(true); connPost.connect(); - OutputStreamWriter post = new OutputStreamWriter(connPost.getOutputStream()); + OutputStreamWriter post = new OutputStreamWriter(connPost.getOutputStream(), "UTF-8"); post.write("wpTextbox1="); post.write(URLEncoder.encode(sWikiCode, "UTF-8")); post.write("&wpSummary="); |