On Thu, 4 Jan 2001, Erez Doron wrote:

> Tzafrir Cohen wrote:
> 
> > On Wed, 3 Jan 2001, Tal Amir wrote:
> >
> > > hi list,
> > >
> > > i have a folder containing mp3, sitting in my linux box and shared to the
> > > rest of the lan via samba.
> > > this folder contains a bus foler with hebrew files (that i was foolish
> > > enough to name in hebrew fonts.)
> > >
> > > the situation is that linux shows the files as empty directory's (even if
> > > it is an mp3 file) and cannot access, rename or delete it in any way.
> >
> > what "linux"?
> >
> > I currently have no problem using hebrew filenames (iso8859-8 - 8bit) from
> > the shell. ls will show hebrew characters as ?'s if your locale (LC_CTYPE
> > spesifically) is not set up properly, though. I figure some other programs
> > will behave the same. Thus they will get a wrong filename, and will have
> > problems accessing it.
> >
> > I currently use a standard ext2 partition, with no special cp module
> > loaded (I don't think I compiled any hebrew codepage into the kernel. I
> > don't know what what effet it has, anyway).
>
> how do i change my locale setting ?

Basically you should set LANG or LC_CTYPE to "he" (or "iw", or similar,
depending on your system. There should be 
/usr/share/locale/{LANGUAGE}/LC_CTYPE )

see locale (7)

So (if you use bash, or any other sh-comatible shell):

try running:

LC_ALL=he command
instead of 
command
and see if there is any difference.

(anyway, it seems the origial poster has a vfat partition, so I'm not sure
if what I wrote applies there) 

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to