ManifoldAPI fix POST entity UTF8 format
@@ -4,6 +4,7 @@ import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
+import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
@@ -293,7 +294,7 @@ public class ManifoldAPI {
try {
if (verb.equals("PUT") || verb.equals("POST")) {
- final StringEntity params = new StringEntity(jsonObject.toString());
+ final StringEntity params = new StringEntity(jsonObject.toString(), StandardCharsets.UTF_8.name());
if (verb.equals("POST")) {
request = new HttpPost(url);
((HttpPost) request).setEntity(params);
