Funny you'd mention that, the parent's post reminded me of my experience with Discord a while ago. I was trying to paste some code and basically nothing made it through unscathed because the chat kept interpreting the text in... interesting ways.
IRC has its quirks but at least it's relatively easy to send arbitrary ASCII text.