How to set meta charset to utf-16 instead of utf-8 in Next.js? #80403
-
SummaryI'm working on a Next.js application (currently using version So, in my UI design, the emojis look like this: While in my Next.js app they look like this: As you can see, in my Next.js app, the emojis in the applied and interview cards are really different from the UI design. This problem is caused by the What I've triedHowever, when I implement it in my Next.js app, it doesn't work. And here are what I've tried when trying implementing it: 1. Using the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I can't really reproduce. Are you on windows OS? |
Beta Was this translation helpful? Give feedback.
Microsoft has some special emoji handling.
What's the computed font family used in your emojis?
Yeah the OS has a say on this... I don't think you are supposed to have anything other than charset set to utf-8 neither.
Can you try adding something like https://fonts.google.com/noto/specimen/Noto+Color+Emoji and make sure that font family is applied to the spans rendering emoji? Also, probably good to add some a11y: