International Radiotelephony Spelling Alphabet by MG

$><<gets.upcase.gsub(/./){"#{([nil]*65+%w{Alpha Bravo Charlie Delta Echo Foxtrot Golf Hotel India Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo Sierra Tango Uniform Victor Whiskey X-ray Yankee Zulu})[$&[0].ord]||$&} "}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page