When nwin_options.encoding == -1, the 1st "-U" would set nwin_options.encoding=UTF8 and the 2nd "-U" would set nwin_options.encoding=0.