Zsh Mailing List Archive
Messages sorted by:
Re: zsh - new user with questions
- X-seq: zsh-users 1739
- From: Goran Larsson <hoh@xxxxxxxxxxxxxxxxxx>
- To: sr@xxxxxxxxxx
- Subject: Re: zsh - new user with questions
- Date: Wed, 19 Aug 1998 19:35:38 +0200 (MET-DST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <C1256665.00522C7D.00@xxxxxxxxxxxxxxxxxxx>
On 19 Aug, Stephen Riehm wrote:
> are, no one uses z to represent a lower case beta.
Lower case beta? Who said anything about beta? I used a German
double s as an example. A German double s is not the same as beta.
> If you are familiar with the locale routines provided in the normal C
> libraries, you'll know that
> there are routines for converting strings from upper case to lower case and
> vice-versa. These
> routines are language independant, and only effect those characters which
> have a upper/lower
> case equivalent, all other characters in the string remain identical.
These routines produce different results depending on the language
you have selected. If you use these routines to do filename matching
then you will match different filenames depending on the selected
language. This is what I think is confusing.
> (ever seen an upper case space?)
Should ß be handled just like a space, that is, not changed at all?
> All that is required is that all routines that compare file names need to
> convert both strings for comparison
> to lower (or upper) case before comparison. The advantage on the Amiga is
> that if a file called ReadMe
> exists, and you decide to create a file called README, all you end up doing
> is overwriting the ReadMe file
You post from a .de domain so you should know about double s.
The upper case version of ß is SS.
1. If we have a filename with the name "Strasse" and one with the
name "Straße". Both filenames are created when the English
language is selected. If the German language is selected later,
wich one of them should be accessed as "STRASSE"?
2. If we have a filename with the name "Straße" you can access it
as "STRASSE" if you select German, but not if you select English.
Once more, how is the filename "Straße" handled on the Amiga? Don't
tell me they cheated and made the upper case version "STRAßE"!
Case insensitive filenames in an international environment is
quite a big can of worms. Should it be opened?
Goran Larsson hoh@xxxxxxxxxx
I was an atheist, http://home1.swipnet.se/%7Ew-12153/
until I found out I was God.
Messages sorted by: