Closed imduffy15 closed 2 years ago
Hey Ian, is there any official document reference for this kind of behavior?
Hi @lins05 none that I could find I'm afraid, the best I could get is a few mentions on other github projects.
+1 I believe we had to write custom code to do substitutions of unicode characters.
Ex: When a user copy & pastes a command that was sent to the bot, Slack (Electron?) will prefix with a unicode whitespace. To the user, this is visually invisible, but it makes the slackbot not respond to the copied command.
No longer in a position to benefit from this change so closing it. Its still valid/needed.
In some slack messages non breaking space
. This becomes very annoying when matching on regexes.
u"\xa0"
is used instead of spaceI believe it would be easier to just normalize the messages as soon as possible to remove the problem.