Skip to content

What to do about ZWJ emoji sequencesΒ #40071

@Keno

Description

@Keno

Some emojis are composed of sequences of other emoji, combined by ZWJ. At the moment, ZWJ is disallowed in the parser, so these emoji, cannot be used, e.g.:

julia> πŸ³οΈβ€πŸŒˆ
ERROR: syntax: invisible character \u200d near column 2
Stacktrace:
 [1] top-level scope
   @ none:1

This is because πŸ³οΈβ€πŸŒˆ is really πŸ³οΈβ€[ZWJ]🌈. We should decide what to do here, since use of these sequences is likely to expand in future Unicode versions. One option is of course to just do nothing and continue to disallow these. Another option may be to just normalize out the ZWJ in emoji sequences and treat that equivalently to the constituent emoji next to each other (since that's what they look like if ZWJ sequences are not supported by the font renderer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions