Channel names do not preserve the zero-width (non-)joiner

(#4457) Bug Closed: Fixed Priority: P2 channels emoji

Reproduction steps

  1. Copy 🧑‍💻 or 🧝‌🏿 into a channel name. It does not matter if the community permits flexible channel names or not.

Expected behaviour

The emojis should have been preserved as-is.

Actual behaviour

The emojis are turned into 🧑💻 or 🧝🏿, respectively.

Build information

Stable Desktop 2026.1026.24218, Web 2026.1028.174822, Linux 7.2.9-ogc2.1.fc44.x86_64 (x64), Electron 44.9.1, Chrome 152.0.7977.167, Node 24.22.0, Locale pl

Evidence

🧝‌🏿 - example of person emoji and skin tone emoji combination that is separated with a ZWNJ. 🧑‍💻 - example of composite emoji that needs a ZWJ. On Discord, ZWJ is not removed, while ZWNJ is. In some languages, both ZWJ and ZWNJ are used in typography, but the difference is most easily noticeable with emojis.
  1. C.Ezra.M changed the status from Awaiting confirmation to Fixed
  1. The pull request fluxer#3896 mentions this post Merged

3 comments

Sign in with Fluxer to comment and vote.
Comment by Fullest
FullestReviewer 1 vote
Status changed from Needs triage to Confirmed
CR: Canary Desktop 2026.1026.22540, Web 2026.1027.182052, Linux 7.2.11-200.fc44.x86_64 (x64), Electron 44.9.1, Chrome 152.0.7977.167, Node 24.22.0, Locale en-US
Comment by Rex
RexSystem 1 vote
Status changed from Confirmed to Awaiting confirmation
This should be fixed now. Could you check and tell us if it still happens?
Comment by C.Ezra.M
C.Ezra.M OP1 vote Fixed for me
CNR: Stable Desktop 2026.1114.60222, Web 2026.1114.60222, Linux 7.3.3-ogc1.1.fc45.x86_64 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale pl