What I want is to send a file over a discord webhook using java code. I created a perfectly working code using the knowledge I gained from this stackoverflow post about curl requests in java and this Discord webhooks guide about sending attachments. The problem is, if I call the exact same code, that works perfectly from a standard java
Tag: webhooks
Emojis and special characters in Discord webhook message from Java not working
So what I’m basically trying to accomplish is I want to copy a user’s message from one channel, and using a Webhook, I want to rewrite it out exactly as they input it in another channel. The problem is that emojis come out as ‘?’s, and many special characters (examples including £, é) completely break it. My code looks something