in reply to Module to intelligently handle names with two last names and other best practices?

I would agree with AnomalousMonk that "Roy-Mayweather, Donna" looks correct. Where I have a serious problem with such modules is where spaces appear in the surname, such as Valéry Giscard d'Estaing, which should be rendered as "Giscard d'Estaing, Valéry". The best way I can think of to solve such problems is to replace spaces in surnames with a character like &nbsp, but I don't know if that would be treated as a space by other software.

Regards,

John Davies

  • Comment on Re: Module to intelligently handle names with two last names and other best practices?
  • Download Code

Replies are listed 'Best First'.
Re^2: Module to intelligently handle names with two last names and other best practices?
by AnomalousMonk (Archbishop) on Jun 27, 2018 at 18:18 UTC
    ... spaces appear in the surname ...

    And then there's the Hispanic custom of having both paternal and maternal surnames (with spaces!). Ah, humans and their wacky ways. Go figure.


    Give a man a fish:  <%-{-{-{-<