Elizacat/irclib — pull request #3 by CorgiDude (2013-03-03 01:40:27+00:00)
Title: Fix printing to Unicode when LANG is set badly.

Every time I push or pull a fix I have to reapply this patch for myself because I haven't requested it to be merged.

I wasn't even _going_ to actually send a pr because I'd normally recommend LANG be set correctly. But even when I set it correctly, Python seems to just hate me. I see this on 2.7 and 3.2, on Mac OS X and FreeBSD. I haven't tested this code on Linux or Windows but I'd assume it would be fine, it's pretty standard.