[Scons-users] Unicode characters in source/target names

Plunket, Tom tom.plunket at aristocrat-inc.com
Thu Aug 27 21:15:55 EDT 2015


I ran into a project that I'm trying to feed through my SCons setup where the users have Unicode characters in some of their filenames.

However I am getting an exception from scons-2.3.5/SCons/Subst.py substitute(self, args, lvars) which checks to see if the args being passed is a string type (which it is, it's type 'unicode') and then just converts it into an ASCII string. On line 509, "args = str(args)". Of course this fails if any character in the Unicode string is not in the ASCII range.

Is there a known workaround for this? If not, the note in the release notes where "Unicode characters in path names do not work in all circumstances." should be changed to "Unicode characters outside of the ASCII range do not work in path names."

Thanks.
-Tom


Again, sorry about this footer...
-- 




IMPORTANT CONFIDENTIALITY NOTICE:

This E-mail(including any documents referred to in, or attached, to this E-mail) may contain information that is personal, confidential or the subject of copyright or other proprietary rights in favor of Aristocrat, its affiliates or third parties. This E-mail is intended only for the named addressee. Any privacy, confidence, copyright or other proprietary rights in favor of Aristocrat, its affiliates or third parties, is not lost because this E-mail was sent to you by mistake.

If you received this E-mail by mistake you should: (i) not copy, disclose, distribute or otherwise use it, or its contents, without the consent of Aristocrat or the owner of the relevant rights; (ii) let us know of the mistake by reply E-mail or by telephone (US 1-877-274-9661, or  AU +61 2 9013 6000); and (iii) delete it from your system and destroy all copies.

Any personal information contained in this E-mail must be handled in accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by viruses and other defects. As a result, such communications may not be successfully received or, if received, may cause interference with the integrity of receiving, processing or related systems (including hardware, software and data or information on, or using, that hardware or software). Aristocrat gives no assurances in relation to these matters.

If you have any doubts about the veracity or integrity of any electronic communication we appear to have sent you, please call (US 1-877-274-9661, or  AU +61 2 9013 6000) for clarification.


More information about the Scons-users mailing list