浏览代码

Core\Files: Change file name transliteration

Visman 1 年之前
父节点
当前提交
e6d66f7e0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Core/Files.php

+ 1 - 1
app/Core/Files.php

@@ -972,7 +972,7 @@ class Files
     public function filterName(string $name): string
     {
         $name = \transliterator_transliterate(
-            "Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC; Lower();",
+            'Any-Latin; Latin-ASCII; Lower()', // "Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC; Lower();",
             $name
         );