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

uploadFile doesn't work work with non-English text comments #60

Open
Ninjaman494 opened this issue Jun 18, 2020 · 0 comments
Open

uploadFile doesn't work work with non-English text comments #60

Ninjaman494 opened this issue Jun 18, 2020 · 0 comments

Comments

@Ninjaman494
Copy link

I'm using this api in my Android app to send a slack message containing a screenshot and some diagnostic text, which is in the initial comment. Everything works great when the text is in English, but with non-English characters the comments show up as question marks in Slack. My guess is that the text is being encoded incorrectly.

Here's the call I make:

webApiClient.uploadFile(feedback.screenshotFile, "screenshot", "가다" , channel);

Strangely, this problem doesn't occur with postMessage, the text is encoded correctly and is shown correctly in Slack.

Thanks in advance!

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

No branches or pull requests

1 participant