Appium unicode string is not working with webelement.sendkey

Hi,

I am using appium version 1.6.5 with node 9.3 and npm 6.0.1 on an Ubuntu/windows machine with uiautomator2

When I try to pass Unicode chars (Hindi chars) with web element sendkeys function, it doesn’t enter the text in the input box and just execute next step. If I change this Unicode to English chars then it is working fine. I cant see anything in log also.

Code
WebElement element = inspectElement(xPath);
element.sendKeys(inputText);

inputText is a String obj with the Unicode data.

Following is the log of the same.

[HTTP] <-- GET /wd/hub/session/72c8fab0-7e03-466f-b49e-f7619fe01dc2 200 3 ms - 797
[HTTP] --> POST /wd/hub/session/72c8fab0-7e03-466f-b49e-f7619fe01dc2/element/be1bb901-1b26-47da-820c-ef7a1b05cb52/value {“id”:“be1bb901-1b26-47da-820c-ef7a1b05cb52”,“value”:[“तणणररथ”]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[“तणणररथ”],“be1bb901-1b26-47da-820c-ef7a1b05cb52”,“72c8fab0-7e03-466f-b49e-f7619fe01dc2”]
[debug] [JSONWP Proxy] Proxying [POST /element/be1bb901-1b26-47da-820c-ef7a1b05cb52/value] to [POST http://localhost:8200/wd/hub/session/ac4979d7-5b4a-4dc8-9fd9-b54e89358684/element/be1bb901-1b26-47da-820c-ef7a1b05cb52/value] with body: {“elementId”:“be1bb901-1b26-47da-820c-ef7a1b05cb52”,“text”:“तणणररथ”,“replace”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“ac4979d7-5b4a-4dc8-9fd9-b54e89358684”,“status”:0,“value”:""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: “”
[HTTP] <-- POST /wd/hub/session/72c8fab0-7e03-466f-b49e-f7619fe01dc2/element/be1bb901-1b26-47da-820c-ef7a1b05cb52/value 200 41 ms - 74
[HTTP] --> POST /wd/hub/session/72c8fab0-7e03-466f-b49e-f7619fe01dc2/element {“using”:“xpath”,“value”:"//*[contains(@resource-id, ‘id/send’)]"}

Please suggest