|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi I'm wondering if anyone could help me out with this problem that is really bugging me. I've set up samba alright, and it working perfect except for one little detail that I noticed the other day. I tried to copy a filname with the nowegian char ø, over to a samba share, then it turned into an o.
I then checked out the other norwegian chars, and they're working ok. So I dont't understand when I've set these lines in the smb.conf character set = ISO8859-1 client code = 850 // norwegian valid chars = æ:Æ ø:Ø ö:Ö å:Å ä:Ä why it's only the ø:Ø which isn't accepted. And yes I've got my linux kernel set to handle these chars, cos I've made some dirs on the shares form my linux shell to test it out, and then the ø, becomes a "Cent-sign", and the Ø, becomes a "Yen-sign", when I view them on my winXP system So if there is anyone who know the answer to my problem, please don't hesitate to reply. |
|
#2
|
|||
|
|||
|
i didn´t use samba for quite some time. but i remember, i had to use a script (/usr/lib/samba/make_codepage or similar) to make a codepage translation file and setup another parameter additionally to the ones you told already to use it. (german character set, same problem). if you can´t find it, i´ll dig in my old configuration files...
something else from the web (could be misleading though...): Quote:
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Well, I don't think the valid chars is the problem. It seems that the iso-8859-1 just assigns the wrong chars when ø and Ø are used. Foud some hints about this in this document:
http://www.linuxvoodoo.com/howto/HO...TO-2.html#ss2.4 I'll try to figure it out myself, but if anyone has experience with this, please let me know Ta, ta... |
|
#4
|
|||
|
|||
|
maybe your samba was delivered with old binary codepage files. does it work on the command line? if yes, this should be your solution:
from "man 1 make_smbcodepage": Quote:
but this command can change them afterwards. so you don´t have to modify /usr/lib/kbd/codepage.850 (or similar) but the /usr/lib/samba/codepages/codepage.850 (or similar) and then use this command to re-compile. maybe you have to install the sources to get the codepage source files, but you don´t need to recompile ![]() |
|
#5
|
|||
|
|||
|
Well, now I think it just might be a problem with WinXP somehow, cos when I used smbclient to browse the shares on both the linux and WinXP every thing worked as it should.
So it just might be something in the codepages of windows that is causing all the trouble. Got to locate where these settings are done in win, and change the cent to ø, and yen to Ø. |
|
#6
|
|||
|
|||
|
The problem was in XP alright, and I fixed it from the controlpanel fairly easy.
Just clicked the regional and language settings, went to the advanced menu, set the "Language for non-unicode programs" to norwegian (and to be on the safe side I enabled all the codepage conversion tables for norwegian too). Then I restarted windows, and what do you know, every letter I need to use is working with Samba. Yohooooooooo!!! |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Peculiar Samba problem with norwegian charset |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|