carbon2-commit: Correct case-insensitive search for non-case, non-ASCII chars. Add tests.