If $PS1 contains a unicode character followed by an escape
sequence, the prompt appears to be output twice if a command ends
without a newline: once (correctly) after the output and once at the
beginning of the line, overwriting the output. The cursor is placed
after the first, overwriting prompt (on "s" in the example below).
This bug was not present in Bash 5.2.
Repeat-By:
bash-5.3$ PS1='€ \[\e[0m\]'
€ echo -n test
€ st€