You might have to add an argument somewhere to tell SCons what the encoding is in files it is parsing.
Post by Bill DeeganYes. That should be fine.
Please file a bug in scons.tigris.org <http://scons.tigris.org/>
We'll have to resolve this.
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?
import sys
import re
from SCons.Builder import Builder
from SCons.Environment import *
SCons.Node.FS.File.get_text_contents = SCons.Node.FS.File.get_contents
# ...
Is it safe to monkeypatch SCons like above?
PS. I've tested it and it seems to works.
_______________________________________________
Scons-users mailing list
https://pairlist4.pair.net/mailman/listinfo/scons-users