Compat errors are our own errors and we handle them so we keep Unicode.

AssertionErrors are converted since they are handled by unit test framework.