[Webkit-unassigned] [Bug 46892] webkitpy.common.system.executive_unittest.ExecutiveTest.test_run_command_with_unicode fails on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 30 13:53:11 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46892





--- Comment #6 from Adam Roben (aroben) <aroben at apple.com>  2010-09-30 13:53:11 PST ---
(In reply to comment #4)
> Looks like we'll need to encode the args for windows.
> 
> See:
> 
>         args = map(unicode, args)  # Popen will throw an exception if args are non-strings (like int())
> in POpen.run_command
> 
> I don't know what encoding cygwin would want things passed to it on the command line, but utf8 sounds like a good try.

It looks like Cygwin ends up calling mbstowcs, which uses the current code page. I wonder how we can get access to that from Python...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list