Fix a bug where sometimes a character's code is set to 0 but its complexChar flag is left as YES, leading to an assertion because there is no UTF-8 string with that code