Skip to content

os: ReadDir in freebsd 14.1 can not list if path have chinese char #71326

@runsys

Description

@runsys

Go version

go 1.21 amd64

Output of go env in your module/workspace:

no change

What did you do?

OS.ReadDir use Chinese char path.I have test many paths. it is a real bug.

What did you see happen?

it can not return file and folder.

What did you expect to see?

return rightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.OS-FreeBSDWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions