changes for assert macros with unicode support, first draft of
formatting routine