in reply to Re: how do I check encoding before opening FILEHANDLEin thread how do I check encoding before opening FILEHANDLE