-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Can the SD library support Chinese paths or file names? #7246
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
Comments
what do you think @P-R-O-C-H-Y? |
Any updates on this? |
now Can it support chinese filename ? |
Hi @zhushengji @OceanZhouX @justdomyself, Tested on ESP32 Wrover kit + Arduino IDE 1.8.19 Sketch:
Debug output:
|
@schreibfaul1 I confirm this, will do more investigations what is wrong. |
I use my esp32-s borad test it, code below, can't find chinese filename: //最大文件数量 //文件信息结构体定义 list_t listInst; //插入文件名到列表
} //获取可用曲名数量 //获取磁盘文件列表
} |
Then we can play chinese filename music by using your audio-iis library? |
@schreibfaul1 @justdomyself The UTF-8 support will be added in next release 2.0.6, which will be released soon (first half of December). This PR in Espressif's Arduino lib-builder repo adds it. |
Should be fixed already in master, since libs are builded with the mentioned PR. |
I can confirm this, it works now. |
Related area
SD
Hardware specification
ESP32
Is your feature request related to a problem?
It is common for file names to contain Chinese, so if UTF-8 can be supported, it will be very convenient for development.
Describe the solution you'd like
SD library support for UTF-8
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: