Sunday, March 14, 2010

24vbattery Charger Circuit

ñ Accents in samba samba web interface

view and write correctly filenames with accents, ñ and other special characters to mount a samba resource, we must be careful to mount it with the same set of characters with which share it.

In linux I found basically two scenarios, depending on the character you use on the file system resource sharing.

can also use the character set with the system variable $ LANG .

echo $ LANG

Answering: es_ES.ISO-8859-15

must add in the "global" smb.conf:

dos charset = 850 unix charset =
ISO8859 -15

and assemble resources:

/ / 192.168.0.XX/RECURSO / media / PUNTOMONTAJE smbfs auto, credentials = / root / smbpwd, dir_mode = 0777, file_mode = 0777, rw, uid = 1000 , gid = 1000, iocharset = iso8859-15 0 0


If instead replied: en_US.UTF-8

need not add anything to smb.conf and assemble the resources:

/ / 192.168.0.XX/RECURSO / media / PUNTOMONTAJE smbfs auto, credentials = / root / smbpwd, dir_mode = 0777, file_mode = 0777, rw, uid = 1000, gid = 1000, iocharset = utf8 0 0

lot more information in this article and this other .
 

0 comments:

Post a Comment