cope with the filename which includes non-ASCII characters