fix win app encoding (lib)