Test for degenerate character encoding case.