PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Gemountete vFat unter Samba keine Umlaute



steve-bracket
25.09.02, 12:43
Hallo
:)

Kleines Problem mit Samba.
Habe eine vFat Partition unter Linux gemountet.
Keine Probleme --> funkt.
Umlaute werden lokal unter Linux richtig angezeigt

Nur,,!! das für Samba freigegebene Share für diese Partition (also über Windows betrachtet)
zeigt alle Umlaute als Sonderzeichen an.

Falls wer nen Tipp hat, Danke

fG Steve:p

Jorge
25.09.02, 13:14
Aus man 5 smb.conf:


character set (G)
This allows smbdto map incoming filenames from a
DOS Code page (see the client code page parameter)
to several built in UNIX character sets. The built
in code page translations are:

· ISO8859-1 : Western European UNIX character set.
The parameter client code page MUST be set to
code page 850 if the character set parameter is
set to ISO8859-1 in order for the conversion to
the UNIX character set to be done correctly.

· ISO8859-2 : Eastern European UNIX character set.
The parameter client code page MUST be set to
code page 852 if the character set parameter is
set to ISO8859-2 in order for the conversion to
the UNIX character set to be done correctly.

· ISO8859-5 : Russian Cyrillic UNIX character set.
The parameter client code page MUST be set to
code page 866 if the character set parameter is
set to ISO8859-5 in order for the conversion to
the UNIX character set to be done correctly.

· ISO8859-7 : Greek UNIX character set. The parame_
ter client code page MUST be set to code page 737
if the character set parameter is set to
ISO8859-7 in order for the conversion to the UNIX
character set to be done correctly.

· KOI8-R : Alternate mapping for Russian Cyrillic
UNIX character set. The parameter client code
page MUST be set to code page 866 if the charac_
ter set parameter is set to KOI8-R in order for
the conversion to the UNIX character set to be
done correctly.

BUG. These MSDOS code page to UNIX character set mappings
should be dynamic, like the loading of MS DOS code pages,
not static.


Normally this parameter is not set, meaning no filename
translation is done.


Default: character set = <empty string>


Example: character set = ISO8859-1

client code page (G)
This parameter specifies the DOS code page that the
clients accessing Samba are using. To determine
what code page a Windows or DOS client is using,
open a DOS command prompt and type the command
chcp. This will output the code page. The default
for USA MS-DOS, Windows 95, and Windows NT releases
is code page 437. The default for western European
releases of the above operating systems is code
page 850.

This parameter tells smbd(8) which of the code_
page.XXX files to dynamically load on startup.
These files, described more fully in the manual
page make_smbcodepage(1), tell smbd how to map
lower to upper case characters to provide the case
insensitivity of filenames that Windows clients
expect.

Samba currently ships with the following code page
files :

· Code Page 437 - MS-DOS Latin US

· Code Page 737 - Windows '95 Greek

· Code Page 850 - MS-DOS Latin 1

· Code Page 852 - MS-DOS Latin 2

· Code Page 861 - MS-DOS Icelandic

· Code Page 866 - MS-DOS Cyrillic

· Code Page 932 - MS-DOS Japanese SJIS

· Code Page 936 - MS-DOS Simplified Chinese

· Code Page 949 - MS-DOS Korean Hangul

· Code Page 950 - MS-DOS Traditional Chinese

Thus this parameter may have any of the values 437, 737,
850, 852, 861, 932, 936, 949, or 950. If you don't find
the codepage you need, read the comments in one of the
other codepage files and the make_smbcodepage(1) man page
and write one. Please remember to donate it back to the
Samba user community.


This parameter co-operates with the valid chars parameter
in determining what characters are valid in filenames and
how capitalization is done. If you set both this parameter
and the valid chars parameter the client code page parame_
ter MUST be set before the valid chars parameter in the
smb.conf file. The valid chars string will then augment
the character settings in the client code page parameter.


If not set, client code page defaults to 850.


See also : valid chars, code page directory


Default: client code page = 850


Example: client code page = 936

steve-bracket
25.09.02, 16:43
Danke dem Moderator Jorge

Manchmal sind es die kleinen Hinweise die einen weiter bringen.


fG Steve :)

Jorge
25.09.02, 17:07
So klein war das Posting doch gar nicht :D

tobiasmerlin
29.04.08, 22:22
Sry, dasss ich diesen alten thread ausbuddel, aber mein Problem passt so gut dadrauf.
Ich hab auf meinem Handy (Motorola A1200) den smbd von hier (http://www.motorolafans.com/forums/showthread.php?t=4531) laufen. Funktioniert soweit auch ganz gut, aber sämtliche Umlaute funktionieren nicht, und ich habe schon diverse Einstellungen durchprobiert in der smb.conf.
Kann mir jemand sagen, welche Einstellungen ich brauche, wenn

'convmv -f utf-8 -t cp850 -r *Datei aus dem share*'
mir die richtigen Umlaute gibt?

Aqualung
30.04.08, 09:19
Ein workaround, bevor Du Dein "Betrachtungs"-Programm startest:


export LANG=de_DE

Poste:


locale

Gruß Aqualung

tobiasmerlin
30.04.08, 20:21
Also zumindest für konqueror hilft LANG=de_DE nicht, für smbfs weiß ich nicht wie man das da angeben kann...
locale auf dem PC gibt für sämtliche Werte "de_DE.utf8"
locale auf dem Handy gibt für sämtliche Werte "POSIX", wobei zu beachten ist, dass da wohl die Einstellungen für die bash nicht stimmen, da mir ein ls lokal (auf dem Handy) auch "???" statt "ü" gibt (im share hab ich "├╝" und umbennen im share führt in den Handyanwendungen zu nem chineschen Zeichen)