mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2013
Posts: 23
M
meow81 Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2013
Posts: 23
Hi, I have mirc 7.51 in windows 7 x64 and there are not the icons (smiles/emoticons) from ios and android irc clients like turboirc. While in win 10 there are almost all of them, are visible. I use FIXEDSYS font, size 9, style regular. In win7 most of them (emoticons) are replaced with a black rectangle. What can i do in win7 to make appear the emoticons? Any commands?

Last edited by meow81; 08/11/17 05:13 PM.
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
This looks like a feature request that has already been stickied at the top of "Feature Requests". https://forums.mirc.com/ubbthreads.php/topics/106741/Emoticons#Post106741

If you're just asking about unicode characters not mapped in Fixedsys, you might try googling for Fixedsys Excelsior, which seems to map more unicode symbols, and also allows a larger range of font size than just 9. Other possible fixed fonts you could try are Lucida Console or Consolas.

Joined: Mar 2013
Posts: 23
M
meow81 Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2013
Posts: 23
That thread is too old.
Those fonts don't show the emoticons.
all 3 fonts can be used inside mirc.
I tried switching fonts inside mirc.
It's something in windows 10 that permits the emoticons (and win7 does not), not in mirc.

Last edited by meow81; 08/11/17 11:55 PM.
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
Are you talking about how this forum does, where it sees a colon followed by a closing parenthesis and replaces it with a smiley emoticon?

//echo -a $chr(58) $+ $chr(41)

smile

Excuse me while I play with these to see which ones works
:| ;|
:} ;}
smirk ;/
:\ ;\
frown ;(
smile wink
:> ;>
:< ;<

Last edited by maroon; 09/11/17 01:05 AM.
Joined: Mar 2013
Posts: 23
M
meow81 Offline OP
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Mar 2013
Posts: 23
&#128565;&#128571;&#128517;&#128569;&#10084;&#65039;&#128552;&#128536;&#128568;&#128049;&#128575;&#9785;&#65039;&#129300;&#129364;&#128569;&#128525;

&#128512;&#128517;&#128514;&#129315;&#9786;&#65039;&#128522;&#9786;&#65039;&#129303;&#128519;&#128526;&#129313;&#129297;&#128561;&#128552;&#128560;

they are copied from inside mirc.
paste that line in google and will appear emoji, they are used/from in turboirc in apple irc client. and they are visible in windows 10, with last mirc version, in black color ,little black icons emoticons.

Others info here
https://forums.mirc.com/ubbthreads.php/topics/246137/smileys_in_mIRC

Last edited by meow81; 09/11/17 12:17 AM.
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
When I paste those lines into Google in Firefox, it showed all of your numbers as emojis. In Chrome, it changes all the 1st row into emojis except the last 4. For the 2nd line Chrome only changes the numbers into emojis for 3 of them.

When I clipboard the entire 2 lines worth of emojis from google, including the ones that just show the invalid symbol in Chrome, then paste them into an mIRC #channel, they appear as garbage in my normal font.

Code:
//window -dp @test | clear @test | var %x 0 | var %y 0 , %i = 1 | while ($font(%i)) { var %font " $+ $font(%i) $+ " | drawtext @test $iif($calc(%i % 2),4,12) %font 16 %x %y %i %font $cb | var %x $calc(700- %x) | if (%x == 0) inc %y 20 | inc %i }


This snippet makes a pic window to display the fonts on your system. (Requires the $font() identifier added with v7.44.) If your monitor has different dimensions, you can change the 700 as the pixel width of the 2 columns, and the 20 is the row height, and the "%i = 1" is where you start within the alphabetical list of fonts.

This displays the sequential font counter, then the font name, then the current contents of the clipboard. So once you get this snippet pasted into an editbox, you can go copy the emojis into your clipboard. (The actual emojis in Google's search box not the &#123456 numbers from your post) The picture window doesn't scroll, and only shows values within the visible area of the window, so you'll need to drag @test larger then repeat again with "%i = larger-number"

In my list of fonts, "Segoe UI Symbol" and "DejaVu Sans" were the only ones which showed the emoji symbols, and when i change the #channel font to either of those fonts, the garbage pasted earlier suddenly changes into the emojis. mIRC recognized a lot more emojis than Chrome did, but there were still 7 fonts which Segoe UI Symbol did not translate, and that's the same result I got from Notepad after setting it to that same Font.

Because Firefox's emojis are in a variety of colors while Chrome shows emojis in default black, I suspect that Firefox is "cheating" by having a built-in list of emoji symbols to display in place of the "real" characters, while Chrome is recognizing the font where those emojis are valid and fontlinking there from Segoe UI Symbol, with the number of displayed emojis depending on which fonts you have installed.

The only numbers that appear as emojis in common fonts are 10084, 9785, and 9786 - which are the only Unicode values in the list which are below 65536. If you type alt+N where N is a number larger than 65535, mIRC and notepad gives you the character which is the remainder after dividing the original number by 65536. So Alt+65636 is the same as Alt+100, and both give you a small 'd'. mIRC supports only Unicode numbers up to 65535, so when you paste the emoji from &#128565, $base(128565) is 1f635 hex, and http://www.fileformat.info/info/unicode/char/1F635/index.htm shows that the UTF-16(Decimal) for U+1F635 is 55,357 56,885. This is why a clipboard beginning with the emoji symbol coming from &#128565 while doing this in the channel where Segoe UI Symbol is your default font:

//say $asc($mid($cb,1)) $asc($mid($cb,2)) $cb / $left($cb,1)

returns 55357 56885 followed by the emoji symbol. The above looks like it's not showing anything to the right of the slash, but it's actually showing $chr(55357) which isn't mapped. If you change that to $left($cb,2) the emoji appears because that's what those 2 Unicode-16 characters appear as in this font.

An alias to mimic this emoji would have the line: return $chr(55357) $+ $chr(56885)
... but it wouldn't show the emoji to anyone who is not using one of the few fonts which map that Unicode symbol.


Link Copied to Clipboard