in reply to Handling caps for surnames with capitals in the middle (was: Irish Surnames)
Anyway, does anyone have any suggestions on how to handle the above names.
The best way to handle this problem is to not throw away information, but rather store the name with correct case.
Just like the Y2k-problem, it is trivial to store correctly in the first place and non-trivial to restore the correct data after information (century or case) has been thrown away. And if you should ever need the simpler form (for presentation as two-digit year or for case-insensitive sorting of names), it is easier by far to produce from the correct form than the other way around.
I guess everybody knew it, but I felt somebody ought to say it :-\
The Sidhekin
print "Just another Perl ${\(trickster and hacker)},"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Handling caps for surnames with capitals in the middle (was: Irish Surnames)
by derby (Abbot) on May 06, 2002 at 12:59 UTC |