Skip to content

Commit

Permalink
Fix #43
Browse files Browse the repository at this point in the history
  • Loading branch information
gturri committed Nov 4, 2022
1 parent 8e5892e commit fc76cd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Fix an encoding issue

1.12.0
Add flag ACCEPT_NULL_DATES

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/timroes/axmlrpc/XMLRPCClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ public Object call(String methodName, Object[] params) throws XMLRPCException {
authManager.setAuthentication(http);
cookieManager.setCookies(http);

OutputStreamWriter stream = new OutputStreamWriter(http.getOutputStream());
OutputStreamWriter stream = new OutputStreamWriter(http.getOutputStream(), "UTF-8");
stream.write(c.getXML(isFlagSet(FLAGS_DEBUG)));
stream.flush();
stream.close();
Expand Down

0 comments on commit fc76cd4

Please # to comment.