> On 10 Aug 2016, at 11:42, Ian Moss <[email protected]> wrote:
> 
> I've a bunch of names, where the surname is capitalized. No problem I 
> thought, I'll downcase.titleize the string.

I’m not sure that you can assume that this is safe to do on people’s name. For 
example ‘deGrasse’.

https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/

Number 13, 'people’s name as case insensitive'.
Number 16, ‘people’s names are not written in all caps’.

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"North West Ruby User Group (NWRUG)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/nwrug-members.
For more options, visit https://groups.google.com/d/optout.

Reply via email to