I tried giving ChatGPT an extremely easy “warmup” interview question, and it passed it with flying colors. But then I added the catch that it has to handle UTF-8 strings and not just ASCII, and it confidently spewed out the same program, claiming that by using the c library functions isspace and ispunct, unicode is handled because they let you pass a locale. This is, of course completely wrong. I even gave an example of an input it would fail on and it shrugged and returned roughly the same function that would still fail on that input.