Page 1 of 1

Filtering on names with non-breaking spaces

Posted: 21 Jun 2023 20:46
by AdrianBruce
Every once in a while, I find a name like "Eliza Jane" where I become convinced (rightly or wrongly) that said individual was known as "Eliza Jane" in daily life and not as "Eliza". Reports and "stuff" will normally refer to "Eliza Jane Smith" (or whoever) as "Eliza". Unless, that is, you do what I saw several years ago and put a non-breaking space between "Eliza" and "Jane", then the code sees "Eliza Jane" as one name and everything is fine.

Or it was fine until today, when I discovered that when I try to filter by first name in the Individual's tab and put an ordinary space between "Eliza" and "Jane", then it will not find "Eliza non-breaking-space Jane"... Since I am quite sure that some of my "Eliza Janes" have a non-breaking space and others don't, I'm a bit puzzled about how to get out of this. Any advice? Should I just junk the whole non-breaking space idea or just filter on the first word instead?

Any vague idea if it would be possible for CP to modify their filtering to treat both versions the same? (Yes, anything is possible but some things are just too much like hard work. Or expense.)

Re: Filtering on names with non-breaking spaces

Posted: 21 Jun 2023 21:43
by tatewise
A quick experiment suggests that setting Eliza Jane with a normal space as the Given Name Used will use that double-barrelled name instead of just Eliza in Reports.
So that solves the problem you posed in Reports without using a no-break-space. Therefore, filtering works as normal.
i.e. Revert all those no-break-spaces to normal spaces and put such double-barrelled names in Given Name Used.

That case is actually given as an example in the Names & Titles dialogue Help page for Given Name Used:
..., her parents may always have intended that Jean Clare Smith should be called “Clare” say - or perhaps even “Jean Clare”. In the first case you would enter "Clare" as the given name used. In the second, you would enter "Jean Clare".

Re: Filtering on names with non-breaking spaces

Posted: 22 Jun 2023 10:47
by AdrianBruce
tatewise wrote:
21 Jun 2023 21:43
A quick experiment suggests that setting Eliza Jane with a normal space as the Given Name Used will use that double-barrelled name instead of just Eliza in Reports. ...
So it does - thanks very much. I suspect I would never have tried that - just too literal-minded. Nor would I have looked in the Help because I understood - I thought - the use of "GNU"...