2004-01-11, 02:26
(editi will get back to this thread...
it would simply not work anymore...
a shared folder in windows xp home, works ok
with international/swedish characters, i.e, åäöåäö
but i can't get it to work with linux samba 2.2.7
funny things happens,
some .jpg-files shows up as _folders_ when they contain åäöåäö (shown as small squares), and when entering the folder, it's empty.
what's the code page xbmc expects for smb shares?
----------------------------------------------------
if you don't get the international characters right, using windows file sharing and linux, then there might be that you do not have the correct config settings for the linux smb (version 2) file server character sets.
enter, (in the [global] section), two lines in the file /etc/samba/smb.conf;
this will fix the file names for the files u r going to create from here after, but what about the 2000+ files u already have in the wrong character set?
well, use the linux program convmv (find it with google convmv)
this nifty program will in fact convert to/from almost any character sets there is.
hope this helps for the one in need...
/51
it would simply not work anymore...
a shared folder in windows xp home, works ok
with international/swedish characters, i.e, åäöåäö
but i can't get it to work with linux samba 2.2.7
funny things happens,
some .jpg-files shows up as _folders_ when they contain åäöåäö (shown as small squares), and when entering the folder, it's empty.
what's the code page xbmc expects for smb shares?
----------------------------------------------------
if you don't get the international characters right, using windows file sharing and linux, then there might be that you do not have the correct config settings for the linux smb (version 2) file server character sets.
enter, (in the [global] section), two lines in the file /etc/samba/smb.conf;
Quote:client code page = 850(or iso8859-15 depending your special character needs)
character set = iso8859-1
this will fix the file names for the files u r going to create from here after, but what about the 2000+ files u already have in the wrong character set?
well, use the linux program convmv (find it with google convmv)
Quote:convmv -f cp850 -t iso8859-1 -r -i ./*will convert file names from cp850 to iso8859-1
this nifty program will in fact convert to/from almost any character sets there is.
hope this helps for the one in need...
/51