+4  A: 

Your screenshot is tiny, but does the Firefox sample contain a glyph with 4 hexadecimal characters in it? If so, that's the Unicode character's code number. You could also hunt for that diamond glyph on the Unicode code charts, or simply copy the diamond into a Google search and the character name should turn up near the top.

But the real question is how to handle Unicode input in your program. You need to do that correctly if you're processing XML. Nokogiri is a Ruby library? I'm surprised to hear it doesn't handle Unicode automatically.

Nelson
I tried pasting them into Google (sorry I should have noted that in the original question) and it came up blank.I've found a few of these now and they all show up as grey diamonds in Textmate; I don't think they are actually the code for the diamond symbol.
Teflon Ted
A: 

Simply open the file using a hexeditor like xvi32.

h0b0
+4  A: 

I would save the page in Firefox to a file, and pass it to hexdump -C. Look for the fragment of HTML around it in the ASCII part, then look for the hex bytes. Most likely, these are UTF-8, so expect a multi-byte code.

Martin v. Löwis
A: 

Open the file hexeditor and extract the hexadecimal representation of the character. Then look up the code on on http://unicode.org to find out the name of the character.

sebasgo
A: 

hexdump -c from the Terminal command line will show you the character code.

Mark Bessey
A: 

Save file and then from the terminal use:

od ( octal dump )

OscarRyz
+1  A: 

Copy it into emacs and start hexl-mode.

Michael Speer
A: 

If you're using Vim, then move the cursor over the character and type ga to show the hex in the status area

Rhubarb
+1  A: 

The search term you are looking for is U+2603 or U2603, obviously substituting the numbers from your lamentably blurry "unknown glyph" box. The first several results will be about that Unicode character.

joeforker