February 16, 20251 yr Hello all, I have some filenames with accents or special characters like ñ, not showing correctly or sharing, and I cannot figure out how to solve it. Given the files are not shared on SMB I was first thinking on adding some kind of option to the SMB settings like this from what I have readen somewhere: mangled names = no dos charset = ISO8859-1 unix charset = ISO8859-1 display charset = ISO8859-1 but, first I have no real clue on how to add this in the Samba extra configuration line... The other thing that came to my mind is that the unraid explorer is also not showing the characters correctly, so maybe there's something to solve even before thinking on the SMB protocol. As an example this is how browsing a folder from unraid looks: "Ps2 Final Fantasy X Guia Espa�ol.pdf" What the cli shows: if doing copy/paste: Ps2 Final Fantasy X Guia Espa�ol.pdf if I copy the image from the terminal: And as explained windows finds the folder empty: To add some context, I have been using unraid for a long time and the drives were moved from one unraid install to another, so maybe I have lost some of the original configuration in that unraid install in the new one...so, things like language can be a bit messed up... Thanks a lot for any help. Edited February 16, 20251 yr by Golfonauta
February 16, 20251 yr Community Expert I don't know if this might help but here is a link to the Samba configuration settings file parameters: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html You might want to check on the sections about "mangled names (S)". I don't know if it will help or not. 58 minutes ago, Golfonauta said: if I copy the image from the terminal: What happens if you rename the file from the CLI or mc or the built-in Unraid File Manager? What happens if you create a file using on of these file tools with one of these characters on your array? Do things work right then?
February 16, 20251 yr Author If I rename the file in the cli using wildards as it is the only way it worked for me and I remove the special (or other language) characters then the file is seen by samba almost inmediatelly. So I'm sure is not permissions. Unraid file managers fails to rename. Edited February 16, 20251 yr by Golfonauta add more details
February 16, 20251 yr Community Expert Let me ping @bonienl and see if he might have any thoughts on your problem.
February 16, 20251 yr Author seems related to this: But their only solution was renamig with a tool...
February 16, 20251 yr Author Could this all be caused by the settings here? # locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE=C LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
February 16, 20251 yr Author krusader sees the file as 0 bytes and is also unable to rename it and as you can see I also gave 777 permissions a while back maybe I will need to run a bash script for all renames, but not sure if I will be able to create or use one that really works Trying to change this \361 to something like ny (to avoid ñ) does not look easy to do for me. Thanks
March 24, 20251 yr Did you solve this? I have the exact same issue, especially file names with french accents. Edited March 24, 20251 yr by atrain151
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.