Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 04-22-2022, 10:59 AM   #1
pstrg
Junior Member
pstrg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2020
Device: Kindle Paperwhite
Viewer - Search function - Accented characters

In languages that use characters with diacritical marks (like accents), names do have variable spelling.
For example, a name like "Katia" exists also as "Kátia".
The usual behaviour for the search function is such that if one searches for the non-accented spelling (Katia) variants (like Kátia) are also presented as results.
It seems that Calibre Viewer doesn't follow the standard way:
if one searchs for Katia, only the exact occurrences (plain first a) will be shown - to find occurrences of Kátia one must search exactly for Kátia (with the acute accent on first a).

Is it really like that or am I missing some setting?
pstrg is offline   Reply With Quote
Old 04-22-2022, 11:08 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: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, it's really like that.
kovidgoyal is offline   Reply With Quote
Old 04-22-2022, 02:23 PM   #3
pstrg
Junior Member
pstrg began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2020
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Yes, it's really like that.
Thank you for the quick answer, Mr. Goyal.
pstrg is offline   Reply With Quote
Old 03-21-2024, 03:55 AM   #4
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 526
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
Dear Mr. Goyal,

If the display language is set to English, in the Content Server (not the CS viewer), the search for "vang" would return all books with metadata containing all possible accents of [a] in "v[a]ng". I like that.

But if the display language is set to Vietnamese, it only returns the exact accented characters.

Is it by design or something that could be tweaked?

Last edited by nqk; 03-21-2024 at 03:57 AM.
nqk is offline   Reply With Quote
Old 03-21-2024, 04:05 AM   #5
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: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It's by design. In English, it is often the case that accents are irrelevant when searching. In other languages, accents can change the meaning of the word so should not be ignored. I dont know Vietnamese, but for example, in Spanish, n and ń when use din an otherwise identical word can change its meaning. Therefore, accents are ignored only in English not other languages. There is a preference to turn this on or off under Preferences->Searching.

And before anyone gets confused, this applies only to searching book metadata in the main calibre interface/content server. Not to searching inside books via the calibre viewer.
kovidgoyal is offline   Reply With Quote
Old 03-21-2024, 06:47 AM   #6
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 526
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
Quote:
Originally Posted by kovidgoyal View Post
It's by design. In English, it is often the case that accents are irrelevant when searching. In other languages, accents can change the meaning of the word so should not be ignored. I dont know Vietnamese, but for example, in Spanish, n and ń when use din an otherwise identical word can change its meaning. Therefore, accents are ignored only in English not other languages. There is a preference to turn this on or off under Preferences->Searching.

And before anyone gets confused, this applies only to searching book metadata in the main calibre interface/content server. Not to searching inside books via the calibre viewer.
Of course different accents have different meanings, but it's ok to search for non-accented characters (90% of my books are with VN metadata) because I encounter many cases where it is impossible to type in the VN characters (because of the lack of the needed keyboard/software).

I can see the option you referred to, but as you pointed out, it applies only to Engish interface while I want to force it 'on" for for Vietnamese interface.


Last edited by nqk; 03-21-2024 at 06:49 AM.
nqk is offline   Reply With Quote
Old 03-21-2024, 06:55 AM   #7
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: 44,551
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no way to force it on for other interface langauges. If you are unable to type anything but english, perhaps you should set your interface langauge to english as well.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
searching for accented characters taddymack Kobo Reader 4 12-13-2021 03:46 PM
\b matches accented characters ElMiko Sigil 11 06-14-2012 01:50 PM
Search filters: accented characters not matching plain ones riki Calibre 4 11-26-2011 08:38 AM
Sorting with accented characters chaley Calibre 20 12-11-2010 08:14 AM
Accented characters bingle Sony Reader 7 07-25-2007 07:36 AM


All times are GMT -4. The time now is 01:02 PM.


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