equality and enumeration (from, to UChar enum) in batText

this was lacking, imho.