Undo recent changes for unicode processing to prepare for more conservative approach, in which try to keep
as much of osint code unchanged as possible, and just do utf8 conversions just before entering into, or returning from, osint code and minimal code.