'/' (slash) in chat and command block shows legacy formatting symbol for right-to-left languages
The bug
When typing a command in chat, or typing in command blocks the legacy formatting modifier character (7) is shown for right-to-left languages.

The reason for this appears to be that net.minecraft.client.gui.components.CommandSuggestions uses the legacy formatting.
Reproduction steps
- Change the language to a right-to-left one, e.g. Arabic (first right-to-left language in the list)
- Type / in chat
/7 appears (and it is not gray)