Add Unicode support

This addresses items 1 and 2 of issue #16.