`detect_unicode` operates on `str` objects, so it should compare to `str` objects
Authored by: mgood 2006-03-24
Parent: [r3040]
Child: [r3042]