Minecraft wiki entry for Formatting_codes, associated text: While in chat in Java Edition, usage of this character disconnects the user, even in 'offline' single player mode, and thus cannot be used directly in commands such as /say.