fixes bug 971940 - 'unicode' is not a type we can check something is NOT, r=rhelmer