Native support for unicode No Break space

EPUB is an XML-based format. If you check for NBSP by copying and pasting, you may stumble upon the same bug I describe above. How do you check it?