Support unicode when running under emacs

I actually like cal, but it does not work in Emacs with colours; it does work with unicode, though, so here's a patch that fixes it.