in reply to Re^7: Larger profile pic than 80KB?
in thread Larger profile pic than 80KB?

It's interesting what is and isn't displayed across applications. Here's the two lots of characters:

$ perl -E '
    use utf8;
    use Unicode::UCD "charinfo";
    for my $code_point (map ord, qw{🖧 ❎ 🫚 🌰 🍎 😋 🎄 🛹 🏘️ 🫁}) {
        say "U+", sprintf("%X\t", $code_point),
            charinfo($code_point)->{name};
    }
'
U+1F5A7 THREE NETWORKED COMPUTERS
U+274E  NEGATIVE SQUARED CROSS MARK
U+1FADA GINGER ROOT
U+1F330 CHESTNUT
U+1F34E RED APPLE
U+1F60B FACE SAVOURING DELICIOUS FOOD
U+1F384 CHRISTMAS TREE
U+1F6F9 SKATEBOARD
U+1F3D8 HOUSE BUILDINGS
U+1FAC1 LUNGS

Update: A missing space between GINGER ROOT and CHESTNUT in the for list resulted in CHESTNUT not appearing in the output. I've fixed this.

I said characters, instead of emoji, because the one you can't see isn't an emoji. Also, as it was released with Unicode v7.0, I'm a little surprised you don't have a font to render it.

$ perl -E ' use Unicode::UCD "charprop"; say "$_:\t", charprop("U+1F5A7", $_) for qw{Age Name Emoji}; ' Age: V7_0 Name: THREE NETWORKED COMPUTERS Emoji: No

I understand how THREE NETWORKED COMPUTERS, as a LAN, fits with your username. You've explained about LUNGS. I'm baffled by SKATEBOARD and HOUSE BUILDINGS.

All of those characters (except GINGER ROOT, as described above) are rendered for me by Firefox.

The characters GINGER ROOT and LUNGS are not rendered in my Cygwin CLI; they appear as a question mark inside a square. Perl (I'm using v5.39.3) obviously understands both. When I copy-paste that code into this response, LUNGS is rendered correctly.

Cygwin was also updated to the latest; at the same time that I updated Firefox, Thunderbird and Win10 earlier today. I would have thought that it could access the same fonts as the others.

As I said, interesting how different applications deal with some of these characters.

— Ken

Replies are listed 'Best First'.
Re^9: Larger profile pic than 80KB?
by eyepopslikeamosquito (Archbishop) on Oct 27, 2023 at 10:45 UTC

    All of those characters (except GINGER ROOT, as described above) are rendered for me by Firefox. The characters GINGER ROOT and LUNGS are not rendered in my Cygwin CLI; they appear as a question mark inside a square.

    Thanks kcott for motivating me to learn a bit more about this topic.

    To take Perl and the Web Browser out of the equation, and just test basic platform support, I ran the following simple test on both my Windows 11 laptop and its embedded WSL Ubuntu Linux 22.04.

    On Ubuntu, running the following t1.bash script at the shell command prompt:

    #!/usr/bin/bash echo -e '\U1F5A7' # THREE NETWORKED COMPUTERS echo -e '\U274E' # NEGATIVE SQUARED CROSS MARK echo -e '\U1FADA' # GINGER ROOT echo -e '\U1F330' # CHESTNUT echo -e '\U1F34E' # RED APPLE echo -e '\U1F60B' # FACE SAVOURING DELICIOUS FOOD echo -e '\U1F384' # CHRISTMAS TREE echo -e '\U1F6F9' # SKATEBOARD echo -e '\U1F3D8' # HOUSE BUILDINGS echo -e '\U1FAC1' # LUNGS
    resulted in every one of the gang of ten symbols displayed correctly in the shell window.

    On Windows 11, running the following PowerShell commands:

    [char]::ConvertFromUtf32(0x1F5A7) # THREE NETWORKED COMPUTERS [char]::ConvertFromUtf32(0x274E) # NEGATIVE SQUARED CROSS MARK [char]::ConvertFromUtf32(0x1FADA) # GINGER ROOT [char]::ConvertFromUtf32(0x1F330) # CHESTNUT [char]::ConvertFromUtf32(0x1F34E) # RED APPLE [char]::ConvertFromUtf32(0x1F60B) # FACE SAVOURING DELICIOUS FOOD [char]::ConvertFromUtf32(0x1F384) # CHRISTMAS TREE [char]::ConvertFromUtf32(0x1F6F9) # SKATEBOARD [char]::ConvertFromUtf32(0x1F3D8) # HOUSE BUILDINGS [char]::ConvertFromUtf32(0x1FAC1) # LUNGS
    also resulted in every one of the gang of ten symbols displayed correctly in the Powershell window.

    The characters GINGER ROOT and LUNGS are not rendered in my Cygwin CLI

    I'm not running Cygwin. However, if you open a Powershell window on your Windows 10 box and type these two commands:

    [char]::ConvertFromUtf32(0x1FADA) # GINGER ROOT [char]::ConvertFromUtf32(0x1FAC1) # LUNGS
    it would be interesting to see if these two emojis are rendered correctly.

    👁️🍾👍🦟
      "... if you open a Powershell window on your Windows 10 box and type these two commands: ..."

      Did that: both returned a question mark inside a square.

      — Ken

        Thanks for letting me know.

        AFAICT, Win10 is nearing EOL in 2025 ... so it seems unlikely that the not-working rendering of the (critical-to-us) Ginger Root emoji will be deemed critical enough to be fixed by future Microsoft security updates. :)

        👁️🍾👍🦟
Re^9: Larger profile pic than 80KB?
by LanX (Saint) on Oct 27, 2023 at 21:30 UTC
    > I'm baffled by SKATEBOARD and HOUSE BUILDINGS.

    Longboard and village.

    If I type words in my mobile 📲 possible pictograms are offered, I can also find them in an emoji dialog by typing names.

    Long... narrows down to 💇💇‍♀️💇‍♂️🪘🛹

    Village ... shows nothing yet

    But following the Chinese logic that multiple trees 木 symbolize a forest 林, 森 I chose three houses for a village.

    Cheers 🏆🐺
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

      >> I'm baffled by SKATEBOARD and HOUSE BUILDINGS.
      > Longboard and village.

      Lungs, Skateboards, House Buildings, Longboards, Villages ... what next? ... of course, the inexplicable changing of your long-standing PM signature from Rolf to 🏆🐺 !

      🏆🐺 - you're full of surprises, please explain your latest signature change from Rolf to Trophy-Wolf. :)

      👁️🍾👍🦟
        > - you're full of surprises, please explain your latest signature change from Rolf to Trophy-Wolf

        Well that's me ;)

        From Wikipedia

        Rolf is a male given name and a surname. It originates in the Germanic name Hrolf, itself a contraction of Hrodwulf (Rudolf),

        (Rudolf) is an ancient Germanic name deriving from two stems: Hrōþi, Hruod, Hróðr or Hrōð, meaning "fame", "glory" "honour", "renown", and olf meaning "wolf"(Hrōþiwulfaz).

        => 🏆 + 🐺

        tldr

        Mel Brooks: "Don't be stupid, be a smarty, come and join the Rolfi party!"

        And I just realized that I need to have a conversation with my English cousins and their habit of constant screening of the Sound of Music to their kids.

        I mean seriously, too much Julie Andrews borders waterboarding... ;)

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        see Wikisyntax for the Monastery

        °) 🧑‍⚕️ ROFL