Whoa! It's the other way round here. Nick is using a locale that
suits
him for other reasons (e.g. getting time and data formats in proper
British ways), but why should he be constrained not to use for his
filenames whatever he wants?
Then, he should switch to en_GB.UTF-8.
That will work if there's en_GB.UTF-8 available for him in his
particular
Unixes and assuming using UTF-8 locales won't break other things.
ISO-8859-1, which is why I wrote about mixing up two encodings
in a single file system _under_ his control.
I think we are here talking past each other :-) I'm assuming the
not all file systems (like Samba mounts) are not necessarily under
his control, you are assuming they
Moreover, why would you think that en_GB.UTF-8 locale gives him the
time and date format NOT suitable for him?
I'm not thinking that. What I think his point is is that plain
en_GB.iso88591
is _enough_ for him to get time/date formats etc working right, but
en_GB.UTF-8
brings in _too much_ (such as some programs not yet being UTF-8 aware
enough,
or him wanting to use iso8859-1 file names in some directories, but in
some
directories not).
You're making a mistake of binding locale and encoding.
I'm not-- many UNIX vendors do, and I have to with that fact. If Linux
and
glibc are doing the Right Thing, that's marvelous, but not all the
world is
Linux and glibc.
Encoding should never be a part of the locale definition.
On that I can fully agree.
The fact that it is on Unix is just an artifact of Unix file system
Not quite. UNIX doesn't care. In traditional UNIX filenames are just
bytes.
Encoding is something from higher abstraction levels. I think it's the
intermediate
concept of "code pages" that has done the worst damage (to people's
minds)
in the transition to Unicode.
PLEASE, PEOPLE: stop thinking of this in terms of an environment
controlled
solely by one user.
Before writing that, please read the man page of 'smbmount' and
'mount' if Linux system is available to you. They're not environment
variables.
Please read my sentence again to see that I had no "variable" in it :-)
Just environment.
Jungshik
--
Jarkko Hietaniemi <jhi(_at_)iki(_dot_)fi> http://www.iki.fi/jhi/ "There is this
special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen