Author Topic: Emojis  (Read 756 times)

BEEEEEAAARRRS

  • 658 pieces
  • Power Star
  • ******
  • Toadbert101
  • how about a rousing game of pool
    • View Profile
Emojis
« on: November 05, 2016, 11:51:51 PM »
so for whatever reason I can't get any emojis to come up in my posts anymore, the preview button shows them coming up blank

I see ones that are in previous posts by others, and ones that are in my own posts

Maybe I'll see if they show up when I actually make the post: 👌

EDIT: They do, so this isn't really a big problem I guess

Still, why do they not show up in my preview now? They used to

2257

  • #mwchat Admin
  • Star Spirit
  • *****
    • View Profile
Re: Emojis
« Reply #1 on: November 06, 2016, 08:49:32 AM »
i think the problem is that the server or smf has incorrect support for unicode characters outside the basic multilingual plane. this is a fairly common software bug since almost all text in all languages can be represented using only bmp characters

Lakituthequick

  • with lowercase T and Q
  • Awards Committee
  • Celestial Guide
  • ***
  • Rest in Peace, Walkazo 😢
    • View Profile
Re: Emojis
« Reply #2 on: November 06, 2016, 10:30:01 AM »
Is a thing with Ajax calls (i.e. fetching info without refreshing the page) that gets rid of all characters with a sufficiently high Unicode codepoint (every character has its own number, majority of emoji have very high numbers).

Preview and quick edit use that, so those will kill emoji, but regular posting and editing doesn't.

Is indeed a bug as 22 mentioned. SMF is fairly old so it doesn't surprise me on that department, but in this day and age it is strange they didn't fix it yet.

Haven't bothered to look into why it happens exactly. SMF has more funny problems.
« Last Edit: November 06, 2016, 10:31:41 AM by Lakituthequick »

2257

  • #mwchat Admin
  • Star Spirit
  • *****
    • View Profile
Re: Emojis
« Reply #3 on: November 06, 2016, 06:33:09 PM »
this version of smf refuses to even install under php 7, so it's not that surprising that it's pre-modern in other ways too

...later versions of smf are actually worse in this regard though. in the latest dev snapshot, messages with unicode characters above 0xFFFF will refuse to post at all

Lakituthequick

  • with lowercase T and Q
  • Awards Committee
  • Celestial Guide
  • ***
  • Rest in Peace, Walkazo 😢
    • View Profile
Re: Emojis
« Reply #4 on: November 07, 2016, 04:05:08 PM »
I have PHP 7 running on my site and had to check that, I installed SMF2.1b1 a while back to test things.

Posting will function until a Emoji appears in the text.
(Common PHPMySQL bug, fixable though)

This is ridiculous.

phpBB when
« Last Edit: November 07, 2016, 04:07:33 PM by Lakituthequick »

woah

  • woah
  • Awards Committee
  • Donkey Kong
  • ***
  • freakworld
  • woah
    • View Profile
Re: Emojis
« Reply #5 on: November 07, 2016, 04:11:33 PM »
I'm an expert on not upgrading to php 7 so i approve of this notion :thumbup: