The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Emoticons’ Category

The regexp for an emoticon ?

Posted by jpluimers on 2024/08/08

I responded to [Wayback/Archive] jilles.com on Twitter: “@0xD4ni @Twitter What is the regexp for an emoticon ?” with [Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “@jilles_com @0xD4ni @Twitter \p{So}+ See …”.

I got the answer from [Wayback/Archive] java – What is the regex to extract all the emojis from a string? – Stack Overflow (thanks [Wayback/Archive] vishalaksh, and [Wayback/Archive] Desgard_Duan) which refers to the quoted section below.

Note that correctly matching highly depends on the versions of the libraries you use: there have been lots of releases of Unicode versions over the last years (since 2014 roughly every 12 months) each usually adding more Emoji.

In addition, many Emoji are not single Unicode codepoints: often they are code points (with or without any of the variation selectors) stacked on top of each other with zero-width joiners like I described in Kris on Twitter: “Company chat: »Right, we need more languages with Emoji as variable type indicators and pointer symbols.«….

I tried fiddling on [Wayback/Archive] regex101: build, test, and debug regex and could not always getting it to work as I hoped for, but also could not figure out how recent their libraries are.

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, Emoticons, Encoding, Event, Geeky, RegEx, Software Development, Unicode | Leave a Comment »

Zamzar – video converter, audio converter, image converter, eBook converter – via @Matijn

Posted by jpluimers on 2018/10/12

Even for Geeks like me, this is a great on-line tool for converting media files: [WayBack/Archive] Zamzar – video converter, audio converter, image converter, eBook converter

Thanks Matijn for pointing me to this.

And for nerds there is ffmpeg:

for name in *.ogg; do ffmpeg -i "$name" -ab 128k -map_meta_data 0:0,s0 "${name/.ogg/.mp3}"; done;

–jeroen

Read the rest of this entry »

Posted in Audio, Emoticons, ffmpeg, Geeky, Media, Power User, Video | Leave a Comment »

¯\_(ツ)_/¯ bot not ¯\_㋡_/¯ or using Katakana for Smileys

Posted by jpluimers on 2015/12/06

Recently I see a lot of people using the ¯_(ツ)_/¯  emoticon as a meme for shrugging arms (though *shrug* is both shorter and easier to type).

It’s based on the Tsu kana (which is has no meaning by itself, but is a mora indicating a glottal stop) and seems to be in use since 2011.

There is also the Shi kana (which also resembles a smiling face), which would lead to ¯_(シ)_/¯.

The fun part is that the for Shi, Wikpedia mentions ㋛ (which is basically Shi enclosed in a circle) it would become ¯_㋛_/¯ which is as short as *shrug* but more visual.

But for Tsu, Wikipedia doesn’t mention ㋡ (maybe coincidentally, the Tsu enclosed in a circle Wiktionary page isn’t there yet as well) which would make ¯_㋡_/¯, again as short as *shrug* but more visual and the one I would prefer.

The below Unicode code points were all added in 1993, quite some time before they got used as emoticons:

–jeroen

PS: there is a little visual trick to cope with shi, tsu, so and n: watch the stroke order and top/left line.

 

Posted in Emoticons, Fun, Geeky, History | Leave a Comment »