TextUtil: remove global state from WCharToUTF8String (causes segfaults in multi-threaded contexts)
TextUtil: remove global state from WCharToUTF8String (causes segfaults in multi-threaded contexts)

ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools