[issue8775] Use locale encoding to encode command line arguments (subprocess, os.exec*(), etc.)

STINNER Victor report at bugs.python.org
Thu May 20 15:02:05 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Fix the title: sys.argv is already decoded using the locale encoding on Unix, the problem is that it uses a (possibly) different encoding to encode command line arguments: file system encoding.

----------
title: Use locale encoding to decode sys.argv, not the file system encoding -> Use locale encoding to encode command line arguments (subprocess, os.exec*(), etc.)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8775>
_______________________________________


More information about the Python-bugs-list mailing list