1

I am trying to fetch the value same as client paste in editView. Before the below code I print story and get the text in hindi same as client paste.

Android code

 Ion.with(Createfunction.this)
                .load(url)
                .setTimeout(60 * 1000)
                /*added by sash 16.4.2016*/                   
                .setMultipartParameter("story", story)                   
                .asJsonObject()
                .setCallback(new FutureCallback<JsonObject>() {
                    @Override
                    public void onCompleted(Exception e, JsonObject jsonObject) {
                        commonMethods.dismissWithCheck(materialDialog);
                        if (e == null) {
                          Log.d("oncomplete...", e + "it is null");
                            Boolean success = jsonObject.get("success").getAsBoolean();
                            if (success) {
                            //successfully done
                            }
                        }
                });

with the help of this code I am sending story to server and print there but this time I am getting hindi text like ................

�य न� �� बयान म�� �हा , 'म��न� 'व��स �फ ��डिया' �ा पहला स��न द��ा ह�,

I don't have much idea about android where the text format is going to change. how I can resolve it. Please help to find the solution.

Meeti Sharma
  • 1,072
  • 1
  • 7
  • 13

0 Answers0