To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=96314 Issue #|96314 Summary|Wrong command line argument encoding in wrapper python |.exe Component|udk Version|DEV300m35 Platform|All URL| OS/Version|Windows, all Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|sb Reported by|sb
------- Additional comments from [EMAIL PROTECTED] Tue Nov 18 16:00:28 +0000 2008 ------- Function encode() in tags/DEV300_m35/pyuno/zipcore/[EMAIL PROTECTED] is completely broken, and does not escape \ and " as described in MSDN's "Parsing C Command-Line Arguments" (<http://msdn.microsoft.com/en-us/library/a1y7w461.aspx>). For example, given the simple C:\argv.py import sys print sys.argv calling "OpenOffice.org 3\program\python.exe" C:\argv.py "ab\"c" "\\" d (example command line arguments taken from <http://msdn.microsoft.com/en-us/library/a1y7w461.aspx>) results in ['C:\\\\argv.py', 'abc \\\\ d'] instead of ['C:\\argv.py', 'ab"c', '\\', 'd'] (note that Python escapes single \ as double \\ in the output). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
