powered by Jive Software

Help, nodejs via bosh do not send cyrillic message

There was a need to write a chat bot.
There are developments on the nodejs

I use bosh (http-bind on port 7070)
I accept messages without problems, but when sending in Latin everything works.
I tried to send a Cyrillic character

content 		: "text/xml; charset = utf-8"

, the server returned an error:

2018.10.22 13:06:15 org.jivesoftware.openfire.http.HttpBindServlet - Error parsing request data from [10.72.150.1]
java.io.EOFException: no more data available - expected end tag </body> to close start tag <body> from line 1, parser stopped on END_TAG seen ...<presence/></bo... @1:223
        at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035)
        at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
        at org.jivesoftware.openfire.net.MXParser.more(MXParser.java:372)
        at org.xmlpull.mxp1.MXParser.parseEndTag(MXParser.java:1671)
        at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:109)
        at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)
        at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:325)
        at org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:162)
        at org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:198)
        at org.jivesoftware.openfire.http.HttpBindServlet.processContent(HttpBindServlet.java:164)
        at org.jivesoftware.openfire.http.HttpBindServlet$ReadListenerImpl.onAllDataRead(HttpBindServlet.java:426)
        at org.eclipse.jetty.server.HttpInput.run(HttpInput.java:443)
        at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1175)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:355)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
        at java.lang.Thread.run(Thread.java:748)
2018.10.22 13:06:15 org.jivesoftware.openfire.http.HttpSession - Unable to deliver a stanza (it is being queued instead), although there are available connections! RID / Connect
ion processing is out of sync!

Recive from server:

---------ltxe----------
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 400 </title>
</head>
----------ltxe---------

---------ltxe----------
<body>
<h2>HTTP ERROR: 400</h2>
<p>Problem accessing /http-bind. Reason:
<pre>    Bad Request</pre></p>
<hr/><i><small>Powered by Jetty://</small></i>
</body>
----------ltxe---------

Tell me how to implement sending Cyrillic

*Sorry for my english using google translator