coverity#1327463 Dm: Dubious method used

Change-Id: I452603d75aa2e96d4c5e7fc00d730c98a265c186
This commit is contained in:
Caolán McNamara
2015-10-20 14:51:19 +01:00
parent 8da886989b
commit b23deda0bb

View File

@@ -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");