Re: [Bug] Wrong Encoding Special Characters
Posted: 10 Jul 2017, 07:59
I cannot confirm. I see that it's encoded as "\ud83c\udfae\" which seems correct
What client are you using?
What client are you using?
It's mapped in the client to an icon from https://github.com/nicodinh/kenney-icon-font/ (see the footnote on the emojis manialink) and thus these icons are not displayed on the maniaplanet website either.https://unicode-table.com/en/blocks/private-use-area/ wrote:In Unicode, the Private Use Areas (PUA) are three ranges of code points (U+E000–U+F8FF in the BMP, and in planes 15 and 16) that, by definition, will not be assigned characters by the Unicode Consortium. The code points in these areas cannot be considered as standardized characters in Unicode itself. They are intentionally left undefined so that third parties may define their own characters without conflicting with Unicode Consortium assignments.
Code: Select all
nickname.split('').map(c => {const x = c.charCodeAt(0); return x >= 0xf000 && x >= 0xf2e0 ? `<i class="fa" data-icon="&#${x};"></i>` : c).join('')
Code: Select all
.fa[data-icon]:before, .ki[data-icon]:before {
content: attr(data-icon);
}