slackcat icon indicating copy to clipboard operation
slackcat copied to clipboard

Character encoding

Open henhal opened this issue 8 years ago • 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?

henhal avatar Oct 03 '17 07:10 henhal

I noticed that

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

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

henhal avatar Oct 03 '17 08:10 henhal