Emoji Color Rendering Issue in Dialog
needs info
Trist Candyclaws
Red heart is not rendered correct in dialog button no matter which variation you try to use due to the dialog is maybe set to different unicode
Log In
Trist Candyclaws
another logo which does the same it the cog.
i strongly think that it is just a unicode issue on the dialog
Trist Candyclaws
example added aswell:
key owner;
default
{
state_entry()
{
owner = llGetOwner();
// Announce the players in chat on state entry
llSay(0,
llChar(129653) + " Player 1 " + llChar(128155) + " Player 2 " + llChar(10084) + " Player 3 " +
llChar(128156) + " Player 4 " + llChar(128154) + " Player 5 " + llChar(129655) + " Player 6 "
);
}
touch_start(integer total_number)
{
// Check if the toucher is the owner
if (llDetectedKey(0) == owner)
{
// Send a dialog to the owner with the players and emojis
llDialog(owner, "Select a player:", [
llChar(129653) + " Player 1", // 🩵
llChar(128155) + " Player 2", // 💛
llChar(10084) + " Player 3", // ❤
llChar(128156) + " Player 4", // 💜
llChar(128154) + " Player 5", // 💚
llChar(129655) + " Player 6" // 🩷
], -1234); // Use a unique channel to avoid interference
}
}
}
as i also wrote in my long description which have disappeared? then i think the issue is that the dialog are using a different unicode than rest of sl. this happens to more than one icon but i can not remember the others.
Trist Candyclaws
I’ve encountered an issue where the red heart emoji (❤, Unicode U+2764) renders as white when displayed in a dialog box, even though it appears correctly in other contexts such as chat and hover text.
When using the red heart emoji in dialog buttons, it turns into a white heart. I’ve tried various different variations, but the issue persists, with the heart consistently rendering as white. I suspect this is due to the dialog buttons not recognizing the same Unicode characters as the rest of the system. While this issue has affected several icons, I can’t recall all of them at the moment, but if this particular one is fixed, the others should be resolved as well. Below are the different attempts I’ve made:
"<3 Player 3",
llChar(129505),
llChar(10084) + llChar(65039) + llChar(127996),
llChar(10084) + llChar(65039),
llChar(10084),
llChar(10084) + llChar(0xFE0F),
llChar(10084) + llChar(0x200B),
llChar(10084) + llChar(0x200D)
Standard Red Heart (❤): The basic Unicode character with code U+2764.
With Emoji Variation Selector (❤︎): Adds U+FE0F to force it to display as an emoji.
With Zero Width Space (❤): Adds U+200B after the red heart for invisible padding.
With Zero Width Joiner (❤): Adds U+200D to encourage emoji rendering.
Trist Candyclaws
but i already did that in the many boxes for when i file a jira. i made example and code snippet and provided all tested versions. why is it not being send along with this?
Dan Linden
needs info
Dan Linden
Hi Trist.
If this is a product that someone else made, please reach out to them for help with this.
If this is a script you are making, can you provide a snippet of the script that is used for the red heart.
Thank you.