Fixed ascii string detection on architectures with unsigned char

This pull request resolves issue #13