Sending UTF-8 characters via WebSockets

I am trying to send UTF-8 characters from a Mongoose server to a web client. As an example, I try to send ‘\ue080’. The problem is that no matter how I try to send this, it always is received as two individual characters in the browser. I tried to send it as text and binary (converting the Blob to a UTF-8 string), but nothing worked so far. I’d be grateful for a code sniplet that shows me how to send ‘\ue080’ to a Mongoose web socket in C.


How many bytes that character occupies? What is the byte sequence for it?