This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| emoji_decoder [2025/09/24 18:45] – Yuki | emoji_decoder [2025/09/24 18:49] (current) – Yuki | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| function encode(){ | function encode(){ | ||
| var $emoji2=document.querySelector("# | var $emoji2=document.querySelector("# | ||
| - | var cv=(e, | ||
| var $out=document.querySelector("# | var $out=document.querySelector("# | ||
| - | $out.value = cv(emo, | + | $out.value = String.fromCodePoint(emo,...[...new TextEncoder().encode($emoji2.value)].map(a=> |
| } | } | ||
| </ | </ | ||
| </ | </ | ||