Our website would like to use cookies to store information on your computer. You may delete and block all cookies from this site, but parts of the site will not work as a result. Find out more about how we use cookies.

Login or Register

Powered by
Powered by Novacaster
Swearing in Unicode
by Simon at 12:35 03/06/05 (Blogs::Simon)
This'll be a laugh if it works...
<< House hunting, spleen emptying Pop-quiz: the Sun is a big bal... >>
View Comments (Threaded Mode) Printer Version
Swearing in Unicode Simon - 12:35 03/06/05
Re: Swearing in Unicode Bruce Ure - 13:03 03/06/05
Does it work? I'm not laughing but that could be because I don't get it.

YHM two screenshots, one IE (which obviously doesn't work) and one Firefox 1.0.4, which at least has symbols, but they don't make a lot of sense to me.

Interestingly, IE ignores my request to view in a larger font (Firefox doesn't, though). Do you use absolute font sizes?


Re: Swearing in Unicode Simon - 13:21 03/06/05
Have you ever read an Asterix book?

Asterix (or the authors thereof) extends this usage with little pictograms of skulls, thunderclouds, shaking fists etc. and is a classic example of how something potentially offensive can be expressed in a comical manner.(Standardized Curse Symbols)

It'll not work if the browser doesn't have Unicode support, or if it doesn't have an appropriate font for that code page installed.

I was considering the possibility of adding a CWBUM tag such as [expletive] (or more likely [fuck], [shit], [piss], etc) which could be replaced on the fly by an appropriate UniCode string of characters. You'd still get all the satisfaction of typing the word 'fuck' (and so on), but it'd be rendered differently a la Asterix.


Re: Swearing in Unicode Simon - 13:35 03/06/05
Oh, and yes - we use fixed pixel font sizes.

Relative font-sizes are a nightmare - different browsers inherit differently in the HTML structure and base things on different default sizes.

This causes problems if you use percentage sizing, or ems, or relative named sizes - medium, small, smaller. Compare small with 12px fixed size - wouldn't you think 12px was more of a medium size for text? It used to be, back in the days of 72ppi. But you have to use 16 pixels if your monitor is 96ppi to get the same physical size as 12px on a 72ppi screen.

We currently use 11px for body text on this site.


Re: Swearing in Unicode Bruce Ure - 13:41 03/06/05
interesting, thanks.

also interesting that FF overrides it but IE won't.

so I am guessing the FF screenshot i mailed you was not the right code page.. since it's not the blistering blue barnacles type of punctuation-outburst you'd expect?

Great idea, by the way... i thoroughly approve :)


Re: Swearing in Unicode Bruce Ure - 13:41 03/06/05
or font for that code page.



Re: Swearing in Unicode Simon - 13:50 03/06/05

and yes. Probably. Or something else. Hard to say what the state of support on various platforms is.

Re: Swearing in Unicode - what you should see Simon - 13:49 03/06/05
Here's what it looks like, if all works as it should.


GIF image (3 K) screenshot
Re: Swearing in Unicode - what you should see David Crowson - 13:55 03/06/05
almost (Firefox 1.0.4) but not quite....
still the meme is sound (and I likes it:)