Could you just check the length of ```getUnsupportedCharacters``` instead?