Regression test for incorrect character emitted to char array.