Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix encoding issue due to faulty discord API #178

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

linus-jansson
Copy link

The discord webhook API has a bug where in some cases it has trouble correctly identifying UTF-8 and mistakes files as other encodings (in my case ISO-8859-9). But by instead explicitly telling discord with BOMing the file if its utf8 fixses the issue.

The issue is reported here: discord/discord-api-docs#6953
But in the meantime I thought that it may be appropriate to BOM the file to prevent encoding errors.

bild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant