You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I'm seeing is that when someone copy-pastes a zero width space into IRC, the text that is seen in my callback has ​ instead of the actual zero width space (https://en.wikipedia.org/wiki/Zero-width_space). Maybe this is somehow expected, but my IRC client interprets the text correctly & is sent over the network correctly preserving the zero-width space.
Any idea what's happening?
EDIT: I played around in the node shell, and I can assign a string with a zero-space width to a variable - if I do a charCodeAt(i) at the index for the zero-space width I get the correct code 8203. I'd have expected the same thing to be true when I see the same string coming from IRC.
The text was updated successfully, but these errors were encountered:
What I'm seeing is that when someone copy-pastes a zero width space into IRC, the text that is seen in my callback has
​
instead of the actual zero width space (https://en.wikipedia.org/wiki/Zero-width_space). Maybe this is somehow expected, but my IRC client interprets the text correctly & is sent over the network correctly preserving the zero-width space.Any idea what's happening?
EDIT: I played around in the node shell, and I can assign a string with a zero-space width to a variable - if I do a
charCodeAt(i)
at the index for the zero-space width I get the correct code8203
. I'd have expected the same thing to be true when I see the same string coming from IRC.The text was updated successfully, but these errors were encountered: