UTF-8 EMOJIS in TOPIC TITLE Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    UTF-8 EMOJIS in TOPIC TITLE

    Aizen the Virtuoso
    Aizen the Virtuoso
    Forumember


    Posts : 39
    Reputation : 2
    Language : english

    UTF-8 EMOJIS in TOPIC TITLE Empty UTF-8 EMOJIS in TOPIC TITLE

    Post by Aizen the Virtuoso September 2nd 2021, 2:42 pm

    Hello,

    Is there a reason why some emojis work in topic title and some don't?

    This one works for example:

    Code:
    &#8987&; #x231B;
    ⌛

    Most of them don't, this one for example:

    Code:
    😇 😇
    😇

    tikky and topaffz like this post

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    UTF-8 EMOJIS in TOPIC TITLE Empty Re: UTF-8 EMOJIS in TOPIC TITLE

    Post by Ape September 2nd 2021, 3:54 pm

    I really Don't know to be honest never even thought about it or even gave it a try.

    It could be to do with the way it was set up on our servers UTF-8 EMOJIS in TOPIC TITLE Mouais sorry I can't help you Sad



    UTF-8 EMOJIS in TOPIC TITLE Left1212UTF-8 EMOJIS in TOPIC TITLE Center11UTF-8 EMOJIS in TOPIC TITLE Right112
    UTF-8 EMOJIS in TOPIC TITLE Ape_b110
    UTF-8 EMOJIS in TOPIC TITLE Ape1010
    avatar
    Guest
    Guest


    UTF-8 EMOJIS in TOPIC TITLE Empty Re: UTF-8 EMOJIS in TOPIC TITLE

    Post by Guest September 2nd 2021, 6:06 pm

    The problem is that forumotion converts & into its unicode representation, which is &amp. This is what break the emojis.

    They do this for security, for example if someone writes the title <script>/*random malicious javacript code*/</script>, that javascript code won't be executed by the browser, since < and > will be converted into their unicode representation, and the title will become &lt;script&gt;/*random malicious javacript code*/&lt;/script&gt;.

    That being said, as far as I know, there's no security issue with displaying & unencoded. I can write a javascript code to allow your emojis to display, if you let me know your forum link!