Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
142 user(s) are online (106 user(s) are browsing Forums)

Members: 0
Guests: 142

more...

Headlines

 
  Register To Post  

SMBFS(?) - Umlauts not supported?
Home away from home
Home away from home


See User information
I have, since a long time now, a problem when trying to access dirs on my NAS that have german umlauts in their names (same goes for files) which draws lots of different, sometimes fatal, behaviour.

The NAS is plugged into a router's USB port and accessed through smbfs - Version 1.74 (31.08.2009).

The subdir is called "Hörbücher" (copy and paste from the list command, and it looks different here?) and is accessable from nearly every place i tried, but AmigaOS4 (i.e. Linux, Windows, PS3, any Media Player with NAS access)

This is what i get when i "list" such a directory (same with "dir"):

Quote:

Bilder Dir ---arwed 10-Nov-11 10:49:45
Bilder.info 22032 ----rwed 18-Oct-12 17:41:34
Dokumente Dir ---arwed 26-Feb-12 17:40:21
Dokumente.info 20920 ----rwed 18-Oct-12 17:41:34
FRITZ Dir ---arwed 21-Sep-12 15:48:43
Hvrb|cher Dir ---arwed 01-Jan-78 00:00:00
Musik Dir ---arwed 20-Dec-11 11:57:50
Musik.info 21398 ----rwed 18-Oct-12 17:41:34
Unbearbeitet Dir ---arwed 18-Oct-12 16:02:44
Unsortiert Dir ---arwed 14-May-12 18:54:53
Videos Dir ---arwed 10-Nov-11 10:48:05
Videos.info 22594 ----rwed 18-Oct-12 17:41:34


Otoh if i open the directory holding this subdir in Workbench i get nothing, the window will not show any subdirs with that name.

So my questions are:

1) I assume that this might be a problem in smbfs?
2) Why can i "see" the subdir in shell but not in Workbench?
(Not that i could do anything with it from AmigaOS4 anyway, if i try to "cd" into it, i get an error message telling me "CD: object is in use")
3) Might it be an unsupported function in AmigaOS4 or maybe a codesets/locale problem?
Just asking because it works from Linux and Windows and i would like to know if it is fixable.

The command line i use to access the NAS is:

Quote:

C:Run >NIL: smbfs:smbfs WORKGROUP="Razielim" QUIET DEVICE=SMBFB: VOLUME=Fritz.NAS: CACHE=200 TRANSLATE="L:FileSystem_Trans/INTL.crossdos" SERVICE=//xxx.xxx.xxx.x/FB7390/StoreJet-Transcend-01/


Removing or changing the TRANSLATE option doesn't change a thing (other options would be MAC and DANSK anyway)

from the smbfs docs:

Quote:

TRANSLATE=TRANSLATIONFILE/K

The Amiga and the file server SMBFS connects to may not share the same
character set. International characters used in file names on either
side may not come out correctly on the other side. To remedy this
problem, you can resort to file name translation. How the individual
names are to be translated is determined by the contents of a file
name translation table file such as the ones that ship with Workbench
in the "L:FileSystem_Trans" drawer. The first 256 bytes of each such
file must consist of the mapping of Amiga characters to the different
character set, and the second 256 characters must describe a mapping
back from the different character set to the Amiga. In most cases the
"L:FileSystem_Trans/INTL.crossdos" translation table file should be
sufficient. To specify which file contains the translation tables to
use you would use the TRANSLATIONFILE parameter.


btw: i created all of the dirs under windows as it was unpredictable what will happen with smbfs and AmigaOS4 (i lost more than one time everything on the NAS)

Might that be the problem? Differing and not compatible naming schemes?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SMBFS(?) - Umlauts not supported?
Not too shy to talk
Not too shy to talk


See User information

For me DANSK.crossdos worked when connecting to WindowsXP.

Do these files actually exist in the path you specified? IIRC I had to copy them from a WB 3.1 disk.


Go to top
Re: SMBFS(?) - Umlauts not supported?
Home away from home
Home away from home


See User information
@thomas

Yes, they exist, i don't remember if i dragged them all the way back from my first AmigaOS HD installation or got them from the 3.9 CD

I will try DANSK.crossdos

edit: Nope, but now with DANSK.crossdos the whole directory is gone from shell dir and list aswell

edit2: MAC.crossdos shows the same behaviour as INTL.crossdos

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SMBFS(?) - Umlauts not supported?
Amigans Defender
Amigans Defender


See User information
The A-tilde characters on your initial paste scream "UTF-8" to me. Maybe somebody needs to write a UTF8.crossdos filesystem translator?

Go to top
Re: SMBFS(?) - Umlauts not supported?
Just popping in
Just popping in


See User information
@Chris:

Yeah, UTF-8 would also be my guess.

But reading the description of the TRANSLATE, it looks like a 8bit mapping table, no UTF8 possible.

Go to top
Re: SMBFS(?) - Umlauts not supported?
Not too shy to talk
Not too shy to talk


See User information

Perhaps you need to configure a different character set on the NAS? IS08859-1 would be perfect, but Windows-1252 should do, too.


Go to top
Re: SMBFS(?) - Umlauts not supported?
Home away from home
Home away from home


See User information
@thomas

Sorry, didn't read your reply earlier...

Hmm, how do i set up a character set on the NAS?

edit: Nevermind, it seems the FritzBox can't do it, it's not in it's firmware.
smbfs has no option for character encoding, so i will simply go and rename all the umlauts to ue, oe and so on


Edited by Raziel on 2012/11/8 12:09:15
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SMBFS(?) - Umlauts not supported?
Home away from home
Home away from home


See User information
Although it works with AmiFTP...now i'm puzzled

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SMBFS(?) - Umlauts not supported?
Just can't stay away
Just can't stay away


See User information
I think the FTP protocol handles charset conversion (at least to some degree) itself.

Best regards,

Niels

Go to top
Re: SMBFS(?) - Umlauts not supported?
Home away from home
Home away from home


See User information
@nbache

Oh, i see

So either smbfs is "eventually" able to do the same or i'll have to live with no umlauts...hmm, seems i need to file a suggestion to Olaf

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: SMBFS(?) - Umlauts not supported?
Just can't stay away
Just can't stay away


See User information
I'm not really sure about all the details of how FTP handles it, but there's some info here, at least.

Maybe your FTP server uses UTF-8, and your FTP client is able to map it down to your chosen system charset (as opposed to SMBFS which currently clearly isn't). You could test this assumption if you had a file on the NAS with a character which isn't representable in your current system charset, and then see how it looks through FTP.

Best regards,

Niels


Go to top
Re: SMBFS(?) - Umlauts not supported?
Home away from home
Home away from home


See User information
@nbache

Thank you Niels.

I'll see what i can find out

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project