Steps To Reproduce:
Send a normal message in chat such as "Hello World".
Send this character into chat: 𜱲 (it looks like Pac-Man in-game).
Leave and rejoin the world/server.
Open chat and press the up arrow key a few times.
Observed Result:
Only the "Hello World" message is accessible with the up arrow
Expected Result:
Pressing the up arrow once brings back the "𜱲" message, and then once again brings the "Hello World" message
Nevermind, this is entirely innacurate in a vanilla environment. My bad