-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os: ReadDir in freebsd 14.1 can not list if path have chinese char #71326
Comments
if path no Chinese char t it can return have Chinese char files. |
Please include the information requested in the bug report, a reproducer, and the actual error message (and FreeBSD version information as well). |
No description provided. |
go 1.23.5 have same error. |
Please show us how to recreate the problem. For example, please show us the contents of a directory as printed by /bin/ls, please show us a program, and please show us the output of that program. Please show all of this as plain text, not as an image. There is no reason to use an image to show plain text data. |
the ls output is right. |
请展示一个可以复现问题的最简代码,并将错误的输出以文字的形式展示出来(而不是拍照) Show a code that can reproduce the problem and display the error output in text. |
_,er:=os.ReadDir("/root/文件夹/") |
I'm sorry, that zip file does not tell me anything. Please show a complete Go program that demonstrates the problem. Please show the complete output of that Go program. Thanks. |
the output enough to describle the question.need no more. |
We can't fix this bug without more information. I don't even understand what the bug is. |
Please paste plain text as plain text. Please do not use images. Images are much harder to read. Thanks. |
Go version
go 1.21 amd64
Output of
go env
in your module/workspace: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.
The text was updated successfully, but these errors were encountered: