mojira.dev
MC-251640

io.netty.handler.codec.EncoderException when using special characters in chat message

When typing a chat message that contains a special character on a server with chat preview enabled, an exception will occur and you get disconnected.

 

Steps to reproduce:

  1. Join a server with chat preview enabled.

  2. Type any letter until you can't type anymore.

  3. Press backspace once.

  4. Type a special character like a "☺" for example.

  5. Observe disconnect.

See client log attached:

Attachments

Comments 3

I can confirm this behavior. It's important to note that the client nor the server crashes when reproducing this issue. In other words, the client is just simply disconnected.

[media]

Somehow, I ended up reproducing this in singleplayer.

That sounds like it would be a separate issue

QUINT_09

gegy

Confirmed

Very Important

Networking

22w19a

1.19 Pre-release 1

Retrieved