[Scons-users] SCons 3.0.0.alpha.20170614 available on testpypi

Tim Jenness tjenness at lsst.org
Mon Jul 31 19:53:33 EDT 2017

> On Jul 31, 2017, at 16:48 , Bill Deegan <bill at baddogconsulting.com> wrote:
> Maybe dump checking the BOM's and a series of try/excepts
> utf-8, utf-16, windows-1252, then errors=ignore?

The BOMs at least have the advantage of you knowing you are doing the right thing, so I think I’d retain that code. Adding a for loop of common decodings with a try in the loop, and then finally returning with errors=ignore doesn’t seem crazy.

Tim Jenness

More information about the Scons-users mailing list