Definition of titlecase

From: Timothy Partridge (timpart@perdix.demon.co.uk)
Date: Thu Jul 22 1999 - 18:18:23 EDT


On page 4-2 of the 2.0 standard it says that titlecase capitalises the first
letter of each word. Is this intended to be a definition of how an
implementation should do titlecasing? If so is word meant to be script /
language / implementation specific or is a more precise definition of word
intended, such as the algorithm for determining word boundaries on page
5-22?

As an exercise to the reader, try titlecasing the following rather contrived
example which is hard for a computer:

"chapter 5 in which mr o'brien and miss hadden-smith are cock-a-hoop when
they discover that 'tis better to leap o'er trouble than to face danger's
jaws."

As a separate issue I notice that the suggested word boundary algorithm
defines a set called Mid but doesn't use it. Is this an error?

   Tim



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:50 EDT