nficano/slackcat

Character encoding

Opened this issue · 1 comments

Hi,

If sending a non-ASCII 7-bit string, I get character encoding issues with slackcat.

Example:

$ echo "åäö" | slackcat @myuser

This is received in Slack as

åäö

What character encoding is slackcat expecting? Should I convert my input? Or is it possible to specify/override? Or is this a bug?

I noticed that

echo "\u00E5\u00E4\u00F6" | slackcat @myuser

works.
Is slackcat deliberately expecting javascript style unicode encoding or it this by chance?