How to render unicode characters in LINQPad using emoji style (color) instead of character style (monochromatic)?
I tried the following code (with VARIATION SELECTOR-16 to force emoji style):
Console.WriteLine("\u26D4\uFE0F \u2714\uFE0F");
Or:
Util.RawHtml(new XElement("span", "\u26D4\uFE0F \u2714\uFE0F")).Dump();
However, it renders the output in text style (monochromatic).
I tried these two emoji chars you stated myself in Linqpad 7.
Console.WriteLine("\u26D4\uFE0F \u2714\uFE0F");
Here is what I got in Results output :
So here I get two colored emojis with a 'no entrance' emoji and a 'check' emoji. It seems to work out of the box using Console.Writeline(..).
This question is a bit old, but I see in the mentioned Linqpad forums that fixes were done in 2017 around more support for unicode and emoji support.
So the answer is possibly that you need a newer version of Linqpad with fixes, although you didn't say which version of Linqpad you are running, you might try to update Linqpad within your major version.