Strings aren't Unicode, they're bytes. It's not U+0000, it's \x00