* Filtering on names with non-breaking spaces

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
AdrianBruce
Megastar
Posts: 1961
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Filtering on names with non-breaking spaces

Post by AdrianBruce » 21 Jun 2023 20:46

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.)
Adrian

User avatar
tatewise
Megastar
Posts: 27074
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Filtering on names with non-breaking spaces

Post by tatewise » 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 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".
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
AdrianBruce
Megastar
Posts: 1961
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Filtering on names with non-breaking spaces

Post by AdrianBruce » 22 Jun 2023 10:47

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"...
Adrian

Post Reply