Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Hashtags in topics
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Webbo
Average Member

United Kingdom
982 Posts

Posted - 17 April 2016 :  17:16:59  Show Profile  Visit Webbo's Homepage  Reply with Quote
Here's one that might test a few of you

Why is it when some people post using mobile phones hashtags show up in their posts, ie #128077;
?

I think it's to do with the them entering smilies from their phone rather than using the forum's smilie code, ie [;p] but I'm not sure.
If it is is there a way around it, such as intercepting the hashtag and substituting it with form code, perhaps using the profanity filter?

And to do that would need a list of relevant hashtags and smilies

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 April 2016 :  08:32:53  Show Profile  Visit HuwR's Homepage
it would be possible,, for example #128077 could in fact be part of a url as # also denotes an anchor in a url. Although can't say I have ever come across this phenomena.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 April 2016 :  11:23:20  Show Profile  Visit AnonJr's Homepage
If it's only when they post from a mobile, then I suspect it's the phone's keyboard inserting a code (some unicode?) for a smilie. I may have to try here on my lunch break to see...
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 April 2016 :  12:48:24  Show Profile  Visit HuwR's Homepage
possibly a decimal representation of Unicode values for emojis
http://apps.timwhitlock.info/emoji/tables/unicode

&#128077 (hex:1F44D) would equate to a thumbs up character

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 April 2016 :  16:38:48  Show Profile  Visit AnonJr's Homepage
I was getting ready to test this out, and realized that it's going through the MVC version here... #129300;

Not sure if that changes anything.

Edited by - AnonJr on 19 April 2016 16:39:22
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 19 April 2016 :  17:03:02  Show Profile
Interesting. Testing that theory from my mobile as well. ? 👍

Edited by - Davio on 19 April 2016 17:03:56
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 20 April 2016 :  09:50:49  Show Profile  Visit AnonJr's Homepage
Posted the last one from my Nexus 6P, and inserted one of the emojis using the Google Keyboard. It showed as just a regular unknown unicode character until I edited the post on my desktop browser, that's when it changed to the "#129300;". (probably from 🤔 and the & got stripped out?)
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 20 April 2016 :  10:02:46  Show Profile  Visit AnonJr's Homepage
Did another test on a regular forum (no .NET) and it posted a straight "#129300;" - so the .NET is at least trying to store it as some sort of unicode character?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 April 2016 :  10:18:55  Show Profile  Visit HuwR's Homepage
quote:
Originally posted by AnonJr

Posted the last one from my Nexus 6P, and inserted one of the emojis using the Google Keyboard. It showed as just a regular unknown unicode character until I edited the post on my desktop browser, that's when it changed to the "#129300;". (probably from 🤔 and the & got stripped out?)


Yes, that's what I'm guessing is happening. unfortunately only mobile devices appear to have the fonts for them installed, and even then that varies from phone to phone.

It should be possible to replace them with known forum smilies though, but would need care as like I said previously #XXXXX could be a url anchor so would need to check carefully what is being replaced.

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 20 April 2016 :  10:35:26  Show Profile  Visit AnonJr's Homepage
quote:
Originally posted by HuwRunfortunately only mobile devices appear to have the fonts for them installed, and even then that varies from phone to phone.

Except even then it's not showing up right on the phone - the phone displays the frustrating invalid unicode block after posting too.

To be sure someone's found and solved this in a way that could be borrowed...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07