[Scons-dev] Unicode support in print_tree / render_tree

Dirk Bächle tshortik at gmx.de
Sat Jul 13 04:14:52 EDT 2013


Hi Remko,

On 13.07.2013 09:32, Remko Tronçon wrote:

> Hi,

>

> I filed a bug report for --tree=... crashing if the dependency tree

> contains unicode characters (

> http://scons.tigris.org/issues/show_bug.cgi?id=2910 ) I fixed the bug

> locally by calling repr() on every element in the tree (which is also

> done by the code that dumps actions)


and thanks for looking a bit into this Unicode issue. We had a
discussion about these kind of problems a while ago, and reached the
consensus to not attack these directly, if I recall correctly.
Instead we try to push the general conversion of the sources to Python3,
and get Unicode support in all the places along the way (not for free,
that's sure ;) ).

Have you tried to actually compile/build stuff that uses Unicode chars
in filenames? Or are you only analyzing the dependencies? Can you please
attach your patch to the Tigris tracker issue or point us to the
repository, if you cloned the SCons sources?
Then we can have a closer look together and better decide what to do next.

Thanks a lot in advance,

Dirk



More information about the Scons-dev mailing list