Thanks Alan! I'll give this a try. BTW, I like to note the original source in my comments, so do I get to credit you for this code?
Paul -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Alan Bourke Sent: Thursday, August 02, 2018 4:25 AM To: [email protected] Subject: Re: Determining Text File Encoding On Wed, 1 Aug 2018, at 7:00 PM, Paul H. Tarver wrote: > Ok, this may be a dumb question, but is there a reliable and easy way to > detect and determine the file encoding on simple text files? > > > I use the code at the link below, which seems to work OK. https://pastebin.com/1wzftPUg -- Alan Bourke alanpbourke (at) fastmail (dot) fm [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

