Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-251640

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 22w19a
    • 1.19 Pre-release 1
    • None
    • Confirmed
    • Networking
    • Very Important

    Description

      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

        1. latest_server.log
          2 kB
        2. latest.log
          10 kB
        3. MC-251640.png
          MC-251640.png
          447 kB
        4. screenshot-1.png
          screenshot-1.png
          98 kB
        5. server.properties
          1 kB

        Activity

          People

            gegy1000 [Mojang] Gegy
            QUINT_09 Quinten
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: