attempt to address failure of gcc standard library to properly handle codecvt.
now I have problem in local state saver - commented out for now