Sonntag, 6. Januar 2008

TECH_ Sambashares with UTF-8

Debian running with Samba 3 and Windows XP client.

Configure Debian to use UTF-8 locale by typing dpkg-reconfigure locale and select de_DE.UTF-8 and enable it as default. Set LC_CTYPE in the file /etc/environment to de_DE.UTF-8. Relogin to enable the new settings.

Configure Samba by setting unix encoding to UTF-8 in the file /etc/samba/smb.conf and restart the daemon by typing /etc/init.d/samba restart.

If puTTy won't display umlauts or other non-ASCII characters, enable UTF-8 in Window -> Translation.

You still have files named in another encoding? Use the tool convmv to convert for example ISO-8859-15:
convmv -f ISO-8859-15 -t UTF-8 -r --notest /dir/to/convert/recursively > renamed_files.txt

Reflog

Informationstechnische Howtos, Hinweise und Merkwürdiges

Batchlib v1.0 2008-03-29

Aktuelle Beiträge

HOWTO_ O2 DSL Surf &...
Der O2 DSL Surf & Phone-Router ist für die...
cypressor - 12. Feb, 19:57
Uptweak Windows XP Home...
There are a lot of annoying limitations in Windows...
cypressor - 9. Okt, 19:30
BATCHLIB_ Batchlib package...
Download Batchlib package v1.0 (5 KB zip file) What...
cypressor - 29. Mrz, 19:10
BATCHLIB_ Batchlib library...
The batchlib library string.cmd is part of the batchlib...
cypressor - 29. Mrz, 18:10

Homepage Ticker

Links

Status

Online seit 4082 Tagen
Zuletzt aktualisiert: 25. Apr, 21:39
RSS XML 1.0 Button-Get-Firefox

batch
batchlib
howto
tech
video
Profil
Abmelden
Weblog abonnieren