[Scons-users] env.Substfile() on files encoded with non UTF-8 (UTF-16).

Bill Deegan bill at baddogconsulting.com
Mon Dec 11 21:40:04 EST 2017


I don't have a clean fix for you, but you might try changing
get_text_contents() in SCons/Node/FS.py to be the same as get_contents()
(Comment out current get_text_contents) in class File(..), and then
get_text_contents=get_contents

See if that solves the problem for u?
-Bill

On Mon, Dec 11, 2017 at 5:00 PM, Mats Wichmann <mats at wichmann.us> wrote:

> On 12/11/2017 02:20 PM, Dmitry Igrishin wrote:
> > 2017-12-12 0:11 GMT+03:00 Bill Deegan <bill at baddogconsulting.com>:
> >
> >> Does this occur for SCons 2.5.1?
> >>
> > Not tested (yet). We are moved from 2.3.6 to 3.0.0 because we are moving
> to
> > Visual Studio 2017 compiler which is not detectable by 2.3.6 (at least
> > here).
> > I guess that VS 2017 is not detectable by 2.5.1 also?..
>
> right, VS 2017 needs scons 3.
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20171211/04f2f616/attachment.html>


More information about the Scons-users mailing list