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.)

9 comments:

  1. The Internet is all about the booty.

    ReplyDelete
  2. 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 = ☠.

    ReplyDelete
  3. 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. :)

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

    Do I need to enable/disable some special feature?

    BSR

    ReplyDelete
  5. 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).

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

    BSR

    ReplyDelete
  7. ...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

    ReplyDelete

Comment moderation is enabled. Your comment will not be visible until approved. Arguing or use of insulting or derogatory language will result in your comment going unpublished: no name-calling. Comments I deem excessively partisan will not be published.