Fix unicode issue by using fail-safe HTML entities

See also #2 discussion.
Merge pull request #5 from dietmarw/patch-2

Fix unicode issue by using fail-safe HTML entities