Adds handling of non-ASCII characters.
Unicode characters no longer cause the script to terminate.
Merge pull request #2 from kdribordy/master

Adds handling of non-ASCII characters.