Skip to content

run_command encoding parameter not used for command string - utf-8 always used instead #174

@pkittenis

Description

@pkittenis

Bug reports

Steps to reproduce:

  1. run_command(u'a latin-1 command string', encoding='latin-1')
  2. command gets decoded as 'utf-8', while output gets decoded as 'latin-1'

Expected behaviour: Command string gets 'latin-1' encoding.

Actual behaviour: Command string encoding is always 'utf-8'

Additional info: Latest versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions