Added unicode support (fixes #38)