We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've created an example function that takes a reaction name and sends it back as text to the channel.
Emoji's output to utf-8 charset:
Any emojis in output get converted to ascii
Replace:
PoshBot/PoshBot/Implementations/Discord/DiscordBackend.ps1
Line 794 in ee1f890
$Params['ContentType'] = 'application/json;charset=utf-8'
This seems similar to the Teams backend solution:
PoshBot/PoshBot/Implementations/Teams/TeamsBackend.ps1
Line 247 in ee1f890
Write-Output "Emoji: ❗"
I am trying to have non-ascii characters get preserved when they get posted to Discord
The text was updated successfully, but these errors were encountered:
@Szeraax Thanks for the issue and the suggested fix. This should be fixed in da076e7.
Example:
Sorry, something went wrong.
No branches or pull requests
My case
I've created an example function that takes a reaction name and sends it back as text to the channel.
Desired Behavior
Emoji's output to utf-8 charset:
Current Behavior
Any emojis in output get converted to ascii
Possible Solution
Replace:
PoshBot/PoshBot/Implementations/Discord/DiscordBackend.ps1
Line 794 in ee1f890
with:
$Params['ContentType'] = 'application/json;charset=utf-8'
This seems similar to the Teams backend solution:
PoshBot/PoshBot/Implementations/Teams/TeamsBackend.ps1
Line 247 in ee1f890
Steps to Reproduce (for bugs)
Write-Output "Emoji: ❗"
Context
I am trying to have non-ascii characters get preserved when they get posted to Discord
Your Environment
The text was updated successfully, but these errors were encountered: