Aloe Express; WebSocket

Hello,

I get data from ORACLe which I convert with SQL to UTF-8.

All strings in Xojo are UTF-8 and WebSocket also does UTF-8.
But, when I send out a string with German umlauts (), for each umlaut one byte is cut off from the end.

As Umlaut is stored with 2bytes andall other letters are lower ASCII-letters, error behaviour makes sense to me.

I also did send a constant string via Aloe Express as WebSocket with Umlauts; this is also cut at the end.

Request.Server.WSMessageBroadcast("{""app"":"""",""userid"":"""",""data"":{""Latitude"":0,""Longitude"":0,""Name"":"""",""VAN"":""VAN""},""Nr"":""200""}")

The browser gets:

"{\"app\":\"\",\"userid\":\"\",\"data\":{\"Latitude\":0,\"Longitude\":0,\"Name\":\"\",\"VAN\":\"VAN\"},\"Nr"

Where can I set the encoding for WebSockets in Aloe Express?

Or any idea else?

Any idea or hint really apreciated!

At the moment I can only “fix” this when I put the same amount of spaces to the string.