由网友(一见你就笑)分享简介:允许使用哪些特殊字符的文件名在Android?! 〜@#$%^&放大器; *()_ + / \,另外,我可以保存文件的Uni code的名字?解决方案 在Android的(至少是默认)文件名EN codeD为UTF-8。 看起来保留的文件名字符依赖于文件系统安装( http://en.wikipedia.org/wi...![批量删除文件名中的指定字符](https://p.xsw88.cn/allimgs/daicuo/20230911/4239.png)
允许使用哪些特殊字符的文件名在Android?
! 〜@#$%^&放大器; *()_ + / ,
另外,我可以保存文件的Uni code的名字?
解决方案在Android的(至少是默认)文件名EN codeD为UTF-8。
看起来保留的文件名字符依赖于文件系统安装( http://en.wikipedia.org/wiki/Filename )。
我认为是保留的:
私有静态最后弦乐ReservedChars =|? *< :> + [] /';
![批量删除文件名中的指定字符](https://p.xsw88.cn/allimgs/daicuo/20230911/4239.png)
What special characters are allowed for file names on Android?
~!@#$%^&*()_+/.,
Also, can I save file with Unicode name?
解决方案On Android (at least by default) the file names encoded as UTF-8.
Looks like reserved file name characters depend on filesystem mounted (http://en.wikipedia.org/wiki/Filename).
I considered as reserved:
private static final String ReservedChars = "|?*<":>+[]/'";
相关推荐
最新文章