Skip to content

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

@Ninjaman494

Description

@Ninjaman494

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions