No Chat Reports

No Chat Reports

43M Downloads

Caesar encryption results in "Illegal characters in chat"

Madis0 opened this issue ยท 1 comments

commented

Modloader

Fabric

Minecraft Version

1.19.2

Modloader Version

Fabric Loader 0.14.9, API 0.62.0

No Chat Reports Version

1.13.6

Modpack Info

No response

The latest.log File

No response

Bug Description

Setting Caesar's "encryption key" to 90 will kick the player out on chat.
image

Steps to Reproduce

  1. Go to a singleplayer world
  2. Enable chat encryption: Caesar cipher, 90 as the "key", encrypt public messages checked
  3. Try to chat

Other Information

Perhaps you just didn't check if the shifted value is within game's supported Unicode range.

commented

It's not about supported range, it's just that some specific characters are disallowed in chat. See SharedConstants#isAllowedChatCharacter.