[Scons-users] SCons 3.0.0.alpha.20170614 available on testpypi
bill at baddogconsulting.com
Mon Jul 31 20:17:14 EDT 2017
I should be able to make a unit test for such and theoretically should only
need that character in question..
CP1252 has been a problem child for me in the past.. so not surprised it
shows up again..
On Mon, Jul 31, 2017 at 4:53 PM, Tim Jenness <tjenness at lsst.org> wrote:
> > On Jul 31, 2017, at 16:48 , Bill Deegan <bill at baddogconsulting.com>
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users