Unicode emojis get screwed up. - by Kolya
Kolya on 25/3/2021 at 21:05
�� This is a unicode thumbsup.
Inline Image:
https://i.imgur.com/vmilRqa.png This is what it's supposed to look like. It works in the editor but breaks in post display.
Same for other unicode icons.
Kolya on 25/3/2021 at 21:06
Upon further examination it only breaks after editing the post. But then it cannot be fixed anymore.
Kolya on 25/3/2021 at 21:10
�� So this should be working because the post was never edited.
Kolya on 25/3/2021 at 21:13
Okay maybe not. Maybe it's the quick reply? Or something about the page encoding?
Ah, quite possibly it's this.
Inline Image:
https://i.imgur.com/ZxtS5Bv.png
zombe on 27/3/2021 at 11:04
It is quite freaky to see than in 2021. I remember that being unacceptable in 2005 and being an embarrassment. Is the backend database also f'd or just frontend problem?
Microwave Oven on 27/3/2021 at 21:27
Well, something is going weird somewhere.
When I look at the HTML in the browser for the emoji, it gets listed as #55357;#56397;, (with ampersands in front of the hashes, but I can't seem to get them to take) but if I save the page and look at it in a text editor, it shows #65533;#65533; for the exact same character.
I wonder what happens if I try to put the same emoji in from my end: ��
Edit: It seems to work fine for me. I used the Win10 emoji picker (Win Key + .) and just entered it directly into the post box. Now I'll try from the edit box: ��
Edit 2: The inline edit box borked it. Weird. It worked just fine before...
Microwave Oven on 27/3/2021 at 21:31
Ok, trying the quick reply box: ��
Microwave Oven on 27/3/2021 at 21:31
And now the advanced post page: 👍
Microwave Oven on 27/3/2021 at 21:34
It appears vBulletin 4.2.5 doesn't like emojis. Pity. I wonder if there is a way to fix that, or if it's a lost cause?
Kolya on 28/3/2021 at 12:40
Quote Posted by zombe
It is quite freaky to see than in 2021. I remember that being unacceptable in 2005 and being an embarrassment. Is the backend database also f'd or just frontend problem?
My thoughts, but ISO-8859-1 is vBulletin's default (or at least it used to be for many years, not sure about current versions), including the database. I'm not sure if vBulletin offers any support for conversion to UTF-8. All I could find are manual instructions by other forum owners (
http://pokecheats.net/forum/showthread.php?14608-Converting-vBulletin-to-UTF-8) like this one. The process is quite complicated to say the least.