Latest writing

subscript/superscript character challanges in HTML

Posted on September 16th, 2009 / Comments: 0

(this entry is a bit of a mess, just posting it for reference now, might get around to expand the topic at a later time)

According to the internet, IE has issues with the UTF-8 version of subscript 2: CO₂ … which unfortunately turns out to be correct, also in IE8. IE just displays an outlined square.

when writing m², you can either use the entity &sup2; or <sup>2</sup>. There is no entity for subscript-2 and the UTF-character &#8322; doesn’t work in IE Without some extra CSS in the document they differ a bit, &sup2; being more typographically correct. <sup> and <sub> elements messes up the line spacing.

Examples (entities vs. sup/sub): m² vs. m2 and CO₂ vs. CO2

Related info:

Extra characters for Cufon/sIFR

Posted on July 27th, 2009 / Comments: 2

When rendering typefaces for use with Cúfon or sIFR, it’s not enough with choosing basic latin if you want to be able to write in swedish or danish. Here’s the string I’m using for configuration:

“”‘’…_&-–—åäöæøàèìòùáéíóúâêîôûäëïöüãõñçÅÄÖÆØÀÈÌÒÙÁÉÍÓÚÂÊÎÔÛÄËÏÖÜÃÕÑÇ©®™′″×

That tends to cover the most common issues, including WordPress punctuation.

MP3 Amp

Posted on October 16th, 2008 / Comments: 0

I’ll take two, please.

mp3Amp

Herb Albert – Spanish Flea

Posted on February 7th, 2008 / Comments: 0

This song has been going around like the flu in the office the last couple of months. Spanish Flea by Herb Alpert & The Tijuana Brass… Here’s what has to be the funniest interpretation ever of it:

Och nu brinner hela skogen

Posted on January 28th, 2008 / Comments: 0