You are not logged in.

#1 2012-02-11 17:22:35

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Samba UTF8

Hi!

In rc.conf

# LOCALIZATION
# ------------
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
HARDWARECLOCK=""
TIMEZONE=""
KEYMAP="de_CH-latin1"
CONSOLEFONT="Lat2-Terminus16"
CONSOLEMAP=
USECOLOR="yes"

in smb.conf

server string = Media Server %h (%v)
unix charset = UTF-8
display charset = UTF-8

A folder named "Bløf" copied from Win7 to the samba share. The folder appears as "Bløf" on the file system and I couldn't care less but that whenever I try to have f.I. sox to interpret the folder I get "Invalid or incomplete multibyte or wide character"

What would be the proper settings in smb.conf and rc.conf to properly deal with UTF-8 characters?


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#2 2012-02-13 16:43:01

Hibernate
Member
From: Stockholm, Sweden
Registered: 2011-07-12
Posts: 100

Re: Samba UTF8

Try set DAEMON_LOCALE="no", I think that was what fixed by character
encoding in Linux VT when I reinstalled by computer recently.

Offline

Board footer

Powered by FluxBB