Just curious, because I just realized it wasn\'t an actual \"x\" (annoying how long that took to figure out).
It uses ×
.
You can use the following to obtain the desired information about any character:
$ perl -Mcharnames=:full -CA -e'
printf("U+%04X %s\n", $_, charnames::viacode($_))
for unpack "W*", $ARGV[0];
' ×
U+00D7 MULTIPLICATION SIGN
If you're going to use it in HTML, you can encode it as follows:
$ perl -MHTML::Entities -CA -e'
CORE::say encode_entities($ARGV[0]);
' ×
×
Notes:
The multiplication sign ( × ) was a bit too small for what I wanted and increasing the font size broke other things, so I found these larger alternatives:
✕ Multiplication X (U+2715)
✕
✕
✖ Heavy Multiplication X (U+2716)
✖
✖
❌ Cross Mark (U+274C)
❌
❌
I hope these will save somebody some time.
Now that you have your answer, here is an additional helpful trick when working with Unicode on Windows OS.
It will show the visual representation of that character. This trick works in reverse as well. If you do a copy and paste of the visual representation and then hit ALT+X it will show you the numeric value.
right answer today: ×
used in close buttons
Instead of giving you fish I will give you dynamite. When working online if you need to figure out what Unicode specific character is you can use following javascript (you might also need to add .val() or .text() or [0] after selector dependent on situation):
$('yourTextselector').charCodeAt(0).toString(16) // charCodeAt is the position of character in text you selected.
Example:
"ก้้้้้้้้้้้้้้้้้้้้".charCodeAt(2).toString(16)
returns "e49"
which means that it's \u0e49
since leading zeroes get 'swallowed'.
This should help you identify other characters that look similar but are in fact different
Hope this saves you some time.
If you don't want to use Unicode, you can simply use the HTML character entity ×
.