Sunday, January 08, 2012

Unicode Makes HTML Side With Pirates

Unless there's a string that resolves to a ninja that I don't know about -- there certainly is a skull and crossbones!
See:

(May not show up on all browsers; dealer prep and destination charges extra; as-shown, includes options not available in all markets; may cause convulsions, revulsion, blindness or an aversion to cheese)
Call it up like this (take out the spaces) "& # 9 7 6 0 ;" and thank Wikipedia for the info.

(Title revised per Wayne C in Comments.)

10 comments:

Tango Juliet said...

Cool!

Alan said...

The Internet is all about the booty.

Wayne Conrad said...

Persnicketally speaking, Unicode has skull and crossbones; HTML uses Unicode.

Ruth said...

Thats awesomr

Jake (formerly Riposte3) said...

Also useful, in Windows you can hold the Alt key and type the character's altcode number to insert it in any (or most) programs. This doesn't include all unicode characters, but there are a lot of useful ones (e.g., ¶ = Alt+0182, § = Alt+0167).

In Ubuntu linux, holding Ctrl and Shift and typing u + the unicode hex number will do the same thing (Ctrl+Shift + u00b6 = ¶, Ctrl+Shift + u00a7 = §).

And, of course, Ctrl+Shift + u2620 = ☠.

Nathan said...

List of miscellaneous Unicode symbols (including the SKULL AND CROSSBONES): http://www.alanwood.net/unicode/miscellaneous_symbols.html

This site is amazing if you need to find odd symbols for the odd website. :)

Anonymous said...

... all I'm seeing is a little empty square box.

Do I need to enable/disable some special feature?

BSR

Roberta X said...

BSR: it is probably browser/OS dependent. May be a "character encoding" setting in your browser, too. (Firefox setting is at View -> Character Encoding -> Unicode).

Anonymous said...

Got unicode (UTF-8) - still just a little empty square box. Oh well.

BSR

Anonymous said...

...checked out Wayne's link - one needs a font resident on one's computer that supports the Unicode character. Apparently, the more common fonts out of the hundred or so fonts I've got, don't.

BSR