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
{{ message }}
Repository navigation
Add an HTML comment to copy&paste non-ASCII characters #3882
This was discussed by the editors in the context of #3861.
Pending Ecma's budget approval for custom TC39 keyboard with all the characters that we need, let's add an HTML comment at the beginning of the spec file like
<!--
laquo / open list: «
float F: 𝔽
...
-->
to have an easy place where to copy&paste from while writing spec text.
(@ljharb maybe also we should add it to the template for proposals?)
@ljharb Neat. You probably shouldn't include variation selector 16. I don't think people are manually adding that. They're just entering an emoji with their keyboard.
Activity
michaelficarra commentedon Jun 2, 2026
We can also list the key chords for each major platform.
bakkot commentedon Jun 2, 2026
You can also just memorize the HTML entities and then run the formatter. That's what I do.
michaelficarra commentedon Jun 2, 2026
If Ecma buys us each one of these, I will print custom keycaps and configure them with all our fancy typography.
Speccy: a click-to-copy picker for ECMAScript spec characters
Speccy: a click-to-copy picker for ECMAScript spec characters
ljharb commentedon Jun 4, 2026
I made https://tc39.es/speccy/ - does this suffice?
michaelficarra commentedon Jun 4, 2026
@ljharb Neat. You probably shouldn't include variation selector 16. I don't think people are manually adding that. They're just entering an emoji with their keyboard.
ljharb commentedon Jun 4, 2026
Updated; it now filters out characters like that, and shows keystrokes by auto-detected OS, and preserves OS choice and search query in the URL.
michaelficarra commentedon Jun 4, 2026
😮 TIL
⌥ \is«!