![]() |
#1 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
search whith Æ ou Œ
hi,
When i run search with title:"~Ætern" or title:"~ætern" i find all my books with this type of character ( lettre soudée in french, but in english i don't know the translation , welded letter perhaps ) (idem with Œ) But this character in french meens "ae" or "oe" with 2 letters, so i would like to find also all books like "Ad Vitam Aeternam" or "Oedipe" . Have you an idea ? The strange thing is the function strtolower PHP("rÆd") give rÆd and not ræd, but calibre (pyton?) do the good job and find lower/upper title. (like the sql LIKE ). Last edited by Doum; 01-23-2024 at 12:43 PM. |
![]() |
![]() |
![]() |
#2 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,768
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I don't quite understand where or how you are searching as that makes a difference. Calibre main screen GUI, command line, a program script etc.
Titles in filenames probably won't use Æ etc. Some background for searching in an eBook. Æ Œ and similar combinations can either be a ligature (any two letters run together such as fi sometimes) or a single letter, a diagraph, made from two letters. A diagraph is entered as single character in the source text. Quote:
So you may have to search for the actual character or an HTML entity: https://en.wikipedia.org/wiki/List_o...ity_references |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
google book do the job
look google book on https://www.google.com/search?q=r%C3...=gws-wiz-books
|
![]() |
![]() |
![]() |
#4 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,768
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I know what they are, I just don't understand exactly where and how you are searching.
æ in a title can be searched for on Calibre GUI. Also I can easily type them as I use Linux. Compose Key a e gives æ etc. Common in old Anglo-Saxon names. Last edited by Quoth; 01-23-2024 at 02:01 PM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,225
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre's search will match accented to unaccented characters and ignore case as well controllable via Preferences->Searching. However it doesnt do the transform you are asking for. Searching isnt language specific and there is no general rule that says ae and æ should be the same.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
|
|
![]() |
![]() |
![]() |
#7 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,768
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
In general ae is two characters and æ is one. The a e can be in words never spelled with an æ such as Fae, so ae and æ shouldn't be treated the same, unlike say i and ï (dais) or e and é (cafe) etc which the exact same word can be spelled without the accents. Admittedly some words in English can be spelled with a diaeresis or not, such as mediaeval.
|
![]() |
![]() |
![]() |
#8 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
|
|
![]() |
![]() |
![]() |
#9 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,768
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Checking with caja file manager sort: aertel is always before ærtel, no matter the creation order. Both are after adept and before afro. My GUI Language setting is English UK, Region & Time is English Ireland. (Spelling checkers have no English Ireland setting). Installed Languages are English UK, English Ireland and English USA. In general the sort order will be different on some 8 bit ASCII DOS systems with æ in the upper 127 characters. Last edited by Quoth; 01-24-2024 at 11:16 AM. |
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
|
The use case is not to do a search with æ or œ which always succeeds (if exact character exists) but to do a search with 2 letters : ae or oe and also find the one letter æ or œ .
I readily recognize that this request is superfluous because I only need to make 2 requests or instead of one. It's purely theoretical ![]() Anyway thank you for your comments For the fun (with my keyboard) : œ => Alt. + 0156 Œ => Alt. + 0140 æ => Alt. + 145 ou Alt. + 0230 Æ => Alt. + 146 ou Alt. + 0198 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Feature? Embed search term as a tag into Search Results with one click? | mikhail_fil | Library Management | 1 | 04-02-2022 10:18 PM |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
Problem whith pdf landscape in k3 | ersott | Amazon Kindle | 0 | 07-04-2011 03:21 AM |
Little bug whith french installation | Wapata | Calibre | 6 | 08-10-2010 02:30 PM |
Google Book Search to search full-text books online | Bob Russell | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 08-19-2006 12:13 PM |