Monthly Archives: September 2009

Java Platform Encoding

This came up at $WORK recently. We had a java program that was given input through command line arguments. Unfortunately, it went wrong when being passed UTF-8 characters (U+00A9 COPYRIGHT SIGN [©]). Printing out the command line arguments from inside … Continue reading

Posted in Uncategorized | Tagged , | 4 Comments

neon-debug-mask

Sometimes, it’s useful to see what subversion’s actually doing when talking to a server. There’s a neon-debug-mask option in ~/.subversion/servers. But what values can it take? They’re not documented in the subversion manual. As always, the source is informative. /* … Continue reading

Posted in Uncategorized | Tagged | 1 Comment

No escape() from JavaScript

A couple of days ago, we got caught out by a few encoding issues in a site at $WORK. The Perl related ones were fairly self explanatory and I’d seen before (e.g. not calling decode_utf8() on the query string parameters). … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

Which whitespace was that again?

We recently saw this at $WORK. It appears corrupted in Internet Explorer only. Firefox and Safari show it normally. After much exploration in the debugger, we eventually found it was caused by using the innerText property in internet explorer. This … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off

BarCampBrighton #4

What a weekend — BCB4 has just been and gone. This was my first BarCamp, and it was a superb experience. Great talks; great people; great venue. Somewhat predictably I gave a talk on git. But I misjudged the audience … Continue reading

Posted in Uncategorized | Tagged | Comments Off

Changing the committer

Quite often, I find myself using git for non-work related activity on my work laptop. Yeah, yeah, I know. Normally, I remember to set my email to be my home address before starting work. $ mymail=’dom [at] happygiraffe (dot) net’ … Continue reading

Posted in Uncategorized | Tagged | Comments Off