Mojira Archive
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:

Fixed

Quinten

[Mojang] Gegy

2022-05-12, 05:42 PM

2022-05-20, 05:30 PM

2022-05-17, 02:08 PM

5

5

Confirmed

Very Important

Networking

22w19a

1.19 Pre-release 1