Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problems with special characters in files, seen incorrectly in unraid explorer and not even shared in SMB

Featured Replies

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"

image.png.06ad63d0102ab92b1a357f52fc08c778.png

 

What the cli shows:

if doing copy/paste: Ps2 Final Fantasy X Guia Espa�ol.pdf

if I copy the image from the terminal: image.png.03ea9721ced0f30ca31fe39144518c79.png

 

And as explained windows finds the folder empty:

image.png.42a88739f651f8221cde33d161772683.png

 

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 by Golfonauta

  • 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: image.png.03ea9721ced0f30ca31fe39144518c79.png

 

 

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?

 

  • 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 by Golfonauta
add more details

  • Community Expert

Let me ping @bonienl and see if he might have any thoughts on your problem. 

  • Author

seems related to this: 

 

But their only solution was renamig with a tool... 

  • 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=

  • Author

krusader sees the file as 0 bytes and is also unable to rename it

image.thumb.png.006417452985f1ed828228144b6812db.png

and as you can see I also gave 777 permissions a while back

image.png.e8bf5125f2f83f2bbbaf3a7db105bb13.png

 

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

  • 1 month later...

Did you solve this?  I have the exact same issue, especially file names with french accents.  

Edited 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.