Page 1 of 1

Annoying and undocumented (?) colon codes

Posted: Sat Jul 27, 2024 3:36 am
by MochiMoppel

Yesterday I intended use the string h:m:s in my post. Didn't work because the forum software rendered the string as h:m:s
In other words: a small letter m between colons is rendered as
<img alt=":m:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/24c2.svg"> or Unicode U+24C2 (CIRCLED LATIN CAPITAL LETTER M of Unicode block "Enclosed Alphanumerics")
Is this a bug or a feature?
I understand that BB smilies are generated by strings like :!: :idea: :o 8-) :) but a M or an A "smily" comes unexpected and I find such emojis a bit disturbing. I would expect that the BB software limits smily strings to those smilies that are presented in the right "Smilies" area of the editor. At least fake and real smilies can be disabled with the "Disable smilies" option.

[Edit] Oh well, it's a feature :o
:snowman: :snowman:
:telephone: :telephone:
:skull: :skull:
Found also a related thread: https://www.phpbb.com/community/viewtopic.php?t=2526111

To find out, which single characters are affected, here is a list of all ASCII characters enclosed in colons:
:!:
:":
:#:
:$:
:%:
:&:
:':
:(:
:):
:*:
:+:
:,:
:-:
:.:
:/:
:0:
:1:
:2:
:3:
:4:
:5:
:6:
:7:
:8:
:9:
:::
:;:
:<:
:=:
:>:
:?:
:@:
:A:
:B:
:C:
:D:
:E:
:F:
:G:
:H:
:I:
:J:
:K:
:L:
:M:
:N:
:O:
:P:
:Q:
:R:
:S:
:T:
:U:
:V:
:W:
:X:
:Y:
:Z:
:[:
:\:
:]:
:^:
:_:
:`:
:a:
:b:
:c:
:d:
:e:
:f:
:g:
:h:
:i:
:j:
:k:
:l:
:m:
:n:
:o:
:p:
:q:
:r:
:s:
:t:
:u:
:v:
:w:
:x:
:y:
:z:
:{:
:|:
:}:
:~:


Re: Annoying and undocumented (?) colon codes

Posted: Sat Jul 27, 2024 9:01 am
by greengeek
MochiMoppel wrote: ↑Sat Jul 27, 2024 3:36 am

Yesterday I intended use the string h:m:s in my post. Didn't work because the forum software rendered the string as h:m:s
In other words: a small letter m between colons is rendered as
<img alt=":m:" class="emoji smilies" draggable="false" src="//cdn.jsdelivr.net/gh/twitter/twemoji@latest/assets/svg/24c2.svg"> or Unicode U+24C2 (CIRCLED LATIN CAPITAL LETTER M of Unicode block "Enclosed Alphanumerics")

I wonder what these codes (as "smilies") are actually supposed to represent??
:a:
:b:
:m:


Re: Annoying and undocumented (?) colon codes

Posted: Sat Jul 27, 2024 9:39 am
by Keef

For some reason the 'M' is for 'Metro'. I suppose it could be useful for someone, somewhere.
https://emojipedia.org/circled-m#emoji


Re: Annoying and undocumented (?) colon codes

Posted: Sat Jul 27, 2024 9:41 am
by MochiMoppel
greengeek wrote: ↑Sat Jul 27, 2024 9:01 am

I wonder what these codes (as "smilies") are actually supposed to represent??
:a:
:b:
:m:

:a: and :b: are blood types. The missing πŸ…ΎοΈ can't be generated via colon code because :o is already used for :o
:m: = metro station

[Edit] Sorry, forgot another blood type. Works with colon code:
:ab: :ab:


Re: Annoying and undocumented (?) colon codes

Posted: Sat Jul 27, 2024 10:36 am
by bigpup

thanks for looking at this and providing some useful information.

Yesterday I intended use the string h:m:s in my post.

So, what did you want this to show as?


Re: Annoying and undocumented (?) colon codes

Posted: Sat Jul 27, 2024 10:39 am
by MochiMoppel
Keef wrote: ↑Sat Jul 27, 2024 9:39 am

I suppose it could be useful for someone, somewhere.

The someone is me. I already use it as a button label (instead of an icon) in my home brew gtkdialog file manager. I was looking for a suitable gtk-icon for the "Mount points" button. I couldn't find one, so I resorted to the Unicode character :m: . A bit smaller than the icons of the other buttons but it's a M and also a point , perfect :lol:

mountpoint.png
mountpoint.png (21.65 KiB) Viewed 659 times