[Bug localedata/14641] Add a strftime()-like function for formatting human names

bugdal at aerifal dot cx sourceware-bugzilla@sourceware.org
Fri Sep 28 12:41:00 GMT 2012


Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
                 CC|                            |bugdal at aerifal dot cx

--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> 2012-09-28 12:21:06 UTC ---
I think this feature is fundamentally misguided. There is no universal way to
represent a "broken down" human name; the whole "first name last name" or
"family name" concept is rooted in particular cultures and does not even apply
to others. I don't think glibc has any business perpetuating the concept that
it's reasonable for applications to store names like this.

Properly written applications should simply be storing a single "name" field as
one string, possibly tagged with a subrange of the string to be used as a
primary sort key. Other useful tagging would be rules specific to the named
persons' culture for how to transform their name into a salutation, etc. But
this is specific to the culture of the person being named, not the locale.

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Libc-locales mailing list