Issue 515

I added a check for Non-ASCII-Chars and fixed the sources and the tests. This should solve Issue #515.