cope with the filename/script which includes non-ASCII characters