Koozali.org: home of the SME Server

Accent character problem

Charlie

Accent character problem
« on: March 08, 2001, 06:21:46 AM »
If a file has an accent character in the file name, I can't delete or move the file from my Windows 98 machines. Here is an example
"03_Kyrie Eleison, An Ghlóir, An Phaidir.mp3". The character over the "o" is the problem. Is there any fix for this, either in Windows of E-Smith.

Dominik

Re: Accent character problem
« Reply #1 on: March 08, 2001, 01:28:41 PM »
I have the same problem with the german ä, ö and ü.
Only with a ftp programm I can log in, rename the files and than delete them.

Stephan Burmeister

Re: Accent character problem
« Reply #2 on: March 09, 2001, 12:50:58 AM »
In the [global] section of smb.conf, you need to change the parameter "client code page" from 950 to 850 and add the line "character set = ISO8859-1".

Charlie

Re: Accent character problem
« Reply #3 on: March 09, 2001, 05:28:43 AM »
That did not work for me.

Stephan Burmeister wrote:
>
> In the [global] section of smb.conf, you need to change the
> parameter "client code page" from 950 to 850 and add the line
> "character set = ISO8859-1".

Stephan Burmeister

Re: Accent character problem
« Reply #4 on: March 09, 2001, 07:12:15 PM »
Did you make your changes using the template mechanism? (see http://www.e-smith.org/content/custom)
And did you then restart smb with the command "service smb restart"?
If you do those two steps and then log off your Windows machines and back on, you should then be able to create, move and delete files and folders with accents etc.
However, if you have old files with accents that you put on the server before having changed the server settings, you may not be able to move/delete those old files. You will have to telnet in to the server and rename those files from there so that they do not contain any accents etc. Then you should be able to access them again from Windows.

Dominik

Re: Accent character problem
« Reply #5 on: March 09, 2001, 09:46:59 PM »
I made the two changes and now everything works great.
Thanks for the good tip.

A other question: How can I change the console settings that I can type ä,ö,ü on the text console.

I have the german keyboard settings (de-latin-1-no-dead-keys) activatet.


Dominik

Stephan Burmeister

Re: Accent character problem
« Reply #6 on: March 10, 2001, 12:33:43 AM »
The exact spelling for the German keyboard settings is "de-latin1-nodeadkeys". Just change it with the "kbdconfig" command on the console.

Charlie

Re: Accent character problem
« Reply #7 on: March 10, 2001, 05:33:40 PM »
I can't delete any file with accents via Windows. I can map a drive, open a dos window and "del *.*" and the accented files are deleted. Any ideas?

aniston

Re: Accent character problem
« Reply #8 on: March 10, 2001, 05:45:36 PM »
being on the keyboard topic ...

We are changing all the text paragraphs and sentances in the perl scripts to italian and the perl script does not allow (atleast seems like tis) the use of accented characters like "èéùòçà'" and the sort these are found thru the keyboard combination by the right alt key and a few keycombinations close to the enter key.

Is there any possibility of using these characters in the perl to show up in the webmanager panel text discriptions pages ?

any perl twaekers please help.

regards
aniston

Charlie Brady

Re: Accent character problem
« Reply #9 on: March 10, 2001, 08:41:06 PM »
aniston wrote:

> Is there any possibility of using these characters in the
> perl to show up in the webmanager panel text discriptions
> pages ?

I'm sure that there is. But please join the developers mailing list, and ask the question there, or at the very least in the Experienced Users bulleting board, which is specifically provided for discussion of development and customisation.

Regards

Charlie

Kirrily Robert

Re: Accent character problem
« Reply #10 on: March 12, 2001, 07:43:18 PM »
There should be no problem whatsoever with printing accented characters.  I just tried this from the command line:

perl -e 'print "èéùòçà"'

and everything worked as I expected... which is to say, it printed the string fine.

So when you say "Perl doesn't seem to support it" what do you really mean?  Are you getting compile errors?  Apache 500 errors?  Anything in the logfiles?  Just doesn't display properly in the web browser?  Have you tried running the CGI from the command line?  What web browser are you using and what character sets does it accept?  

For a good general guide to debugging Perl CGI, see the "Idiots Guide" at http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html

K.

Serge Dutremble

Re: Accent character problem
« Reply #11 on: May 03, 2001, 08:51:20 PM »
I am actually surprised that CodePage 950 is used,  Is this not for Chinese Traditional characters as per the SMB.CONF man pages?

In any case, I have a strange one with the installation as is:

Some files and directories contain accesnted characters (as well as spaces) as they are WIndows long filenames in French.

one filenames with the "e accent aigus" (sorry I do not have the right keycode for it) could not be deleted or edited from within WIndows.  However, it could be renamed under Linux and then was available.

one filename with the "i accent circonflexe" (the hat!) could be edited from within WIndows but not deleted.  This file can not be renamed under Linux (not sure if this was due to a lock or not).

A very long list of filenames and directories include all sorts of accents and cause no problem whatsoever as is.

DOes anyone know why codepage 950 was used by default on E-Smith and what could possibly be going on here?

Thanks.

Serge.

Charlie Brady

Re: Accent character problem
« Reply #12 on: May 03, 2001, 08:58:09 PM »
Serge Dutremble wrote:
>
> I am actually surprised that CodePage 950 is used,  Is this
> not for Chinese Traditional characters as per the SMB.CONF
> man pages?
...
> DOes anyone know why codepage 950 was used by default on
> E-Smith and what could possibly be going on here?

That was a (quite surprising) bug which is fixed in version 4.1.2.

Charlie

Ricky Tse

Re: Accent character problem
« Reply #13 on: May 21, 2001, 10:03:27 AM »
I had the same problem to display Tranditional Chinese after I installed V4.12, but I fixed it after I changed the parameter "client code page" from 850 to 950 and delete the line "character set = ISO8859-1".

re: codepages 950 (Traditional Chinese-Big5)
                     1381 (Simplified Chinese -GBK)