Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2011, 06:38 AM   #1
riki
Member
riki began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2011
Device: kindle
Search filters: accented characters not matching plain ones

I've searched these forums to find a previous answer to this question; I suppose there must be one, and if so I apologize for wasting everybody's time, but I couldn't find it.

My problem: Calibre's filter/search doesn't match accented characters to their plain equivalents. In other words, when searching for "le carre" it won't find "le Carré"; same with "asa" vs. "Åsa" etc.

This would be a nice option to have: the database would contain the correct spelling ("le Carré"), while searches for a simplified text ("le carre") would return the intended results even when the user doesn't know/remember the correct diacritics or can't enter them anyway because in lack of a proper localized keyboard (Scandinavian letters such as 'ð', 'å' and 'ø' being the most troublesome for me in particular).

Does Calibre have such an option already?
riki is offline   Reply With Quote
Old 11-26-2011, 06:52 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
authors:~carr.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-26-2011, 07:18 AM   #3
riki
Member
riki began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2011
Device: kindle
Wow, Kovid - incredibly quick as usual, thanks!

Your suggestion works, but it requires the user to remember that there is a problem with unusual characters in that search string and use a wildchard to circumvent it. It would still be nice to have a solution that works even when the user types a less-than-exact spelling of the search term, as could happen with Nordic names and other names where the simplified spelling is widespread - such as "Indriðason/Indridason", "Åsa/Asa", "Nesbø/Nesbo", "Miéville/Mieville".
riki is offline   Reply With Quote
Old 11-26-2011, 07:32 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://bugs.launchpad.net/calibre/+bug/879729
kovidgoyal is offline   Reply With Quote
Old 11-26-2011, 07:38 AM   #5
riki
Member
riki began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Aug 2011
Device: kindle
Aha - so the issue had come up already.
Sorry I couldn't find the message in the bug tracker myself.
Thanks for the quick and exhaustive reply!
riki is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting with accented characters chaley Calibre 20 12-11-2010 07:14 AM
Accented characters on PRS-505 gandalfbp Calibre 4 04-19-2010 07:48 AM
PRS-600 any way to type spanish accented characters? arielinflux Sony Reader 1 03-17-2010 04:22 AM
PRS-500 Accented characters onto reader using Mac squiggle8 Sony Reader Dev Corner 9 12-06-2007 04:01 PM
Accented characters bingle Sony Reader 7 07-25-2007 06:36 AM


All times are GMT -4. The time now is 10:08 PM.


MobileRead.com is a privately owned, operated and funded community.