Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-Jun-2009, 03:25 AM
D_D D_D is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
D_D 0 reputation points
Default Charachter encoding problem in Samba

Hi

I have set up a SLES10SP2 machine with Samba, and I am having trouble with the use of swedish characters in filenames.
The output from locale of the machine is:

LANG=en_US.UTF-8
LC_CTYPE=en_US
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Samba is by default set up to use UTF-8 as well, but when I create a file from Windows the swedish (هنِ) characters are garbage in Linux, and when I create the file from Linux the swedish characters are replaced with underscores in Windows.

I changed the Samba server parameter "unix charset" to ISO-8859-15 and then it seems to work both ways, but I assume that using UTF-8 would be better since all new systems support this. I expected problems with older files using other encodings, but the problems here apply to newly created files.

Anyone have an idea on how to do to get UTF-8 working ?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 04:31 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2