On Tue, Jul 24, 2012 at 09:42:10PM +0100, Smylers wrote:
: GitHub writes:
: >       
: >   Author: Larry Wall <la...@wall.org>
: > 
: > There is no more titlecase function.  Instead there is a suite
: > of mapping functions appropriate to apply on a word-by-word basis
: > (tc, tclc, and tcuc),
: Under what circumstances is tcuc useful? I'm currently suffering from a
: lack of imagination as to when somebody would ever want that rather than
: just uc.

A bare uc will do the wrong thing for the first letter of a word in
those languages that distinguish tc from uc.  Titlecase is distinguished
from other uppercase forms that are used after the inital letter, and
so doesn't care whether the next character is uppercase or lowercase.
It's simply wrongish to use uc on the first character in such a language.


Reply via email to