当在 java 中使用 AdaptersAPI 调用适配器到适配器时,如果它包含阿拉伯字母,则得到响应为 rabish。下面是我的代码片段
HttpEntity requestEntity = new StringEntity(new Gson().toJson(params),
ContentType.APPLICATION_JSON );
HttpPost httpPost = new HttpPost(url);
httpPost.setEntity(requestEntity);
HttpResponse httpResp = adaptersAPI.executeAdapterRequest(httpPost);
JSONObject response = adaptersAPI.getResponseAsJSON(httpResp);