ADB Shell Input text unicode value gives permission error I am running below command on Ubuntu with connected devices

adb shell input text "तणणररथ"


but it gives me permission denied error and start dumping state of the device

sh: resetreason: can't execute: Permission denied
========================================================
== dumpstate: 2018-11-28 03:20:03
========================================================

.......


Can you please help me on this?
From this StackOverflow post: adb shell input unicode character adb shell input isn't designed for unicode characters.

The most promising answer points to a github repo: ADBKeyBoard however there is a note that it may not work on Android O / Android P.