How do I input text in unicode, emoji, and line wrap?

I’m using adb shell input text but it can only accept one line string.

Once I entered unicode foreign characters then it just simply send blank line.

Any other command or method I can use?