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 _______________________________________________ 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/1533201926.336830.1460959408.76acd...@webmail.messagingengine.com ** 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.

