Added default encoding.

As requested by larsthorup, a default encoding was added.