Email list hosting service & mailing list manager

case mappings Alex Shinn (13 Jul 2005 03:57 UTC)
Re: case mappings Thomas Bushnell BSG (13 Jul 2005 05:49 UTC)
Re: case mappings Michael Sperber (13 Jul 2005 06:41 UTC)
Re: case mappings Thomas Bushnell BSG (13 Jul 2005 06:47 UTC)
Re: case mappings Michael Sperber (13 Jul 2005 07:12 UTC)
Re: case mappings Thomas Bushnell BSG (13 Jul 2005 07:21 UTC)
Re: case mappings bear (13 Jul 2005 17:24 UTC)
Re: case mappings Thomas Bushnell BSG (13 Jul 2005 19:35 UTC)
Re: case mappings Alex Shinn (13 Jul 2005 07:55 UTC)
Re: case mappings Alex Shinn (13 Jul 2005 07:40 UTC)
Re: case mappings Thomas Bushnell BSG (13 Jul 2005 19:36 UTC)
Re: case mappings Alex Shinn (14 Jul 2005 02:39 UTC)
Re: case mappings Thomas Bushnell BSG (14 Jul 2005 07:15 UTC)
Re: case mappings Alex Shinn (14 Jul 2005 07:42 UTC)
Re: case mappings Thomas Bushnell BSG (14 Jul 2005 08:07 UTC)
Re: case mappings Alex Shinn (14 Jul 2005 08:24 UTC)
Re: case mappings bear (14 Jul 2005 16:47 UTC)
Re: case mappings Thomas Bushnell BSG (14 Jul 2005 20:29 UTC)
Re: case mappings bear (15 Jul 2005 18:23 UTC)
Re: case mappings Thomas Bushnell BSG (15 Jul 2005 19:52 UTC)
Re: case mappings Matthew Flatt (13 Jul 2005 13:05 UTC)
Re: case mappings Thomas Bushnell BSG (13 Jul 2005 19:39 UTC)
Re: case mappings Alex Shinn (14 Jul 2005 02:31 UTC)

Re: case mappings Thomas Bushnell BSG 13 Jul 2005 06:47 UTC

Michael Sperber <xxxxxx@informatik.uni-tuebingen.de> writes:

> For my applications, the case mappings defined in the draft are plenty
> useful---they're sure useful well beyond ASCII.  Restricting them to
> ASCII would make them very significantly less useful to me.  (What
> with me being a German an all.  And BTW, no, the eszet issue is not
> usually a problem in practice---it sure doesn't keep the case mappings
> from being useful.)

Your applications are useful *for German* maybe.... but that doesn't
mean that the code you write, thinking only of your case, will work
where the locale is different and more serious problems arise.

You are quite right that this is a hard problem.  However:

Scheme has a system for numeric procedures that works automagically
for systems that want really fancy stuff.  We should have the same for
characters.  A half-baked solution is worse than none.  We don't have
to have *any* case-mapping procedures, but it would be shameful to
have bad ones when we knew better.

ASCII-only ones are bad, and UnicodeData.txt-only ones are also bad.
We can do the Right Thing, darn it all, and stop punting saying "oooh,
it's too hard", when it's really not that hard at all.

The fundamental thing to learn and get over is:

Case mapping is not a character-to-character function, it is a
string-to-string function.

Once you learn that, everything else becomes trivial.

Thomas