Allow Emoji in folder names (#3071)
authorOzGav <gavnosp@hotmail.com>
Mon, 2 Feb 2026 09:05:18 +0000 (20:05 +1100)
committerGitHub <noreply@github.com>
Mon, 2 Feb 2026 09:05:18 +0000 (10:05 +0100)
* Allow Emoji in folder names

* Shorten comment

music_assistant/providers/filesystem_smb/__init__.py

index bb51493de57243ebf926fe9dd8c54a6699ce48ec..c7d56e002a5d2c582fe0acbd281092542165865f 100644 (file)
@@ -303,6 +303,8 @@ class SMBFileSystemProvider(LocalFileSystemProvider):
         options.append(f"cache={cache_mode}")
 
         # Case insensitive by default (standard for SMB) and other performance options
+        # Note: iocharset is omitted to allow CIFS native Unicode handling for emoji
+        # and other 4-byte UTF-8 characters.
         options.extend(
             [
                 "nocase",
@@ -310,7 +312,6 @@ class SMBFileSystemProvider(LocalFileSystemProvider):
                 "dir_mode=0755",
                 "uid=0",
                 "gid=0",
-                "iocharset=utf8",
                 "noperm",
                 "nobrl",
                 "mfsymlinks",