All of lore.kernel.org
 help / color / mirror / Atom feed
From: adcromitus <adcromitus-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Accented characters not working with CIFS (but ok with smbclient)
Date: Sat, 20 Sep 2014 23:44:57 +0100	[thread overview]
Message-ID: <541E0369.8070205@gmail.com> (raw)

Hy,

I'm not sure of what can be relevant so I'll tell the whole story.

I have a router (that I got from my ISP) which allows the connection of 
a pen/HDD by USB. That pen is shared on the network as a Windows Share 
folder.

In Windows 7 I can see all the files name correctly, but when I mount 
the drive in Linux, with the command:

mount -t cifs //<local share ip-address>/<shared-folder> --verbose -o 
user=user,pass="",uid=1000,gid=1000

(there is no password)

All file names with special characters (like Çãõé...) have a question 
mark in place of the accented character and I can't open the file or 
folder, as any command responds the file doesn't exist. This happens in 
dolphin, thunar and in the command line with simple commands like cat.

I tried adding the following option without success

iocharset=utf-8
iocharset=utf-8,codepage=cp437
iocharset=utf-8,codepage=cp850
iocharset=iso8859-1

This also happens if I access the share from my android device, so I was 
convinced it was a problem related to old firmware (from the router).

However, recently I connected to the drive using smbclient and the file 
names appeared correctly. I would like to mount this share folder at 
fstab, and so smbclient is not a good solution.

I'm using:
Linux kernel 3.2.0-4-amd64
(Debian Wheezy)
mount.cifs version: 5.5

And I get this information from smbclient -L <local share ip address>:
(smbclient version 4.1.11-Debian)
Server=[Samba 2.2.12]

So. Is there something else I can try?

Thanks in advance.

             reply	other threads:[~2014-09-20 22:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-20 22:44 adcromitus [this message]
     [not found] ` <541E0369.8070205-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-22  3:28   ` Accented characters not working with CIFS (but ok with smbclient) Steve French
2014-09-27 23:23     ` adcromitus
     [not found]       ` <542746D9.7090007-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-28  8:32         ` steve
     [not found]           ` <5427C7A6.8080901-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org>
2014-09-29 22:50             ` adcromitus
     [not found]               ` <5429E222.4090101-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-09-30  1:32                 ` Steve French
     [not found]                   ` <CAH2r5mtwPK8_HGtxnCq5kOs-4ZaaNNR5ame=GNXLUkCtzGq+Dg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-30  1:33                     ` Steve French
     [not found]                       ` <CAH2r5msdOGbYPEW0+wNp4_qxQR5L1tHZvod2c4v1hYxjpme+Gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-30  2:40                         ` Steve French
     [not found]                           ` <CAH2r5mt1EVo26=N8tVRgqCDGGUpJrUDpajF4T+g3weJQcYwFFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-30 18:38                             ` adcromitus
     [not found]                               ` <542AF89C.3050707-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-10-05  6:08                                 ` Shirish Pargaonkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=541E0369.8070205@gmail.com \
    --to=adcromitus-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.