support more characters when generating filenames
This commit is contained in:
parent
aa49d726f3
commit
6ebef01579
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ public class MusicUtil {
|
|||
|
||||
@NonNull
|
||||
public static String ascii(String string) {
|
||||
return string.replaceAll("[^\\x20-\\x2E\\x30-\\x7E]", "");
|
||||
return string.replaceAll("[\\x00-\\x1F\\x2F\\x7F]", "");
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue