Monday, December 24, 2007

Stacked glasses stuck together?

Spray WD-40 using the nozzle around the lip of the stuck glass.

Run hot water around the bottom glass, fill the top glass up with cold water.

Smash on the lip with a skewer or more appropriate implement.

Bob's your uncle.


Merry Christmas

Sunday, December 9, 2007

Sventon for my homies

I'm a big fan of sventon, the guys have created one of the kickingest svn repository viewers around.

Much to my dismay after an upgrade to 1.3.0, stuff stopped working. I didn't have time to look at it until recently but I dived into the tomcat logs and pulled up this.

org.springframework.beans.MethodInvocationException: Property 'archiveFileCharset' threw exception; nested exception is java.nio.charset.UnsupportedCharsetException: cp437


Not so cool.

cp437 is the old dos-us character set which sure isn't installed on our svn box, hence the error.

So if this saves anyone else some time, go into the WEB-INF directory of sventon and edit sventon-servlet.xml. There is a property called archiveFileCharset. Change the value to whatever is appropriate for you. In my case it was cp1252 which is en-au amongst others, but should be good enough for most engrish speakers.

I thought Unicode had pretty much made Windows Code Pages obsolete, oh well.