Skip to content

os.hostname() returning as '????' #27848

@kumamit08

Description

@kumamit08

Can't recognize Chinese if set pc name in Chinese

Steps to reproduce

  1. set PC name as "-发动机”
  2. in log file --> os.hostname() give result as '????' and not chinese PC name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    osIssues and PRs related to the os subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions