Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2015, 09:32 AM   #1
BlackWinny
Enthusiast
BlackWinny began at the beginning.
 
BlackWinny's Avatar
 
Posts: 30
Karma: 10
Join Date: Jul 2012
Location: France
Device: Win11 Acer 17" laptop + Win11 Yonis 10" Tablet
Question Maybe a bug: French accents in author sort copy method

Hello!

Maybe a bug:

When I add an entry with a French accent in the list author_name_copywords it is not taken in account.

The example:

I want to specify Académie Française (with an accent on Académie) as the author of a book. To have it sorted with "Académie Française" instead of "Française, Académie" I do as usual: I append the entry , 'Académie' to the list named author_name_copywords in the setting Author sort copy method (by using normally the GUI, not directly in the external parameter file). Then I validate (apply) my addition, then I reboot Calibre as it asks for it, then I go to Manage the Authors to recalculate the sort of the key. Problem: It doesn't work (I master the operation, I ususally do it for other entries without any accent).

The reason seems to be only in the presence of an accent in the entry, because if I replace 'Académie' (with an accent) with 'Academie' (without the accent) it works (I would say "of course").
BlackWinny is offline   Reply With Quote
Old 09-03-2015, 09:38 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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to enter like this

u'Académie'
kovidgoyal is offline   Reply With Quote
Advert
Old 09-03-2015, 09:57 AM   #3
BlackWinny
Enthusiast
BlackWinny began at the beginning.
 
BlackWinny's Avatar
 
Posts: 30
Karma: 10
Join Date: Jul 2012
Location: France
Device: Win11 Acer 17" laptop + Win11 Yonis 10" Tablet
Thumbs up

Quote:
Originally Posted by kovidgoyal View Post
You need to enter like this

u'Académie'
GREAT!

Thank you Kovid!


So now this addition works perfectly:

, u'Académie', 'Agence', 'Association', u'Comité', 'Compagnie', 'Institut', u'Société'


Just a very little question to end with this thread:

If I need to insert a quote (a character ' ) in an entry of this list (or of another list), do I just have to double it as we do in Javascript?
BlackWinny is offline   Reply With Quote
Old 09-03-2015, 10:37 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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You ca do

u"a'b"
kovidgoyal is offline   Reply With Quote
Old 09-03-2015, 09:43 PM   #5
BlackWinny
Enthusiast
BlackWinny began at the beginning.
 
BlackWinny's Avatar
 
Posts: 30
Karma: 10
Join Date: Jul 2012
Location: France
Device: Win11 Acer 17" laptop + Win11 Yonis 10" Tablet
Nice!

Thank you Kovid!

These two simple and clear answers resolve all my current problems. I really enjoy Calibre... and your kindness!

Cheers!
Jacques
BlackWinny is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
French accents and the point while saving myki Library Management 5 04-14-2015 03:16 AM
New DRM method changes the author's words to make each copy unique and traceable zigzagz News 65 01-17-2014 07:54 PM
Minor bug with Author -> Author Sort guspasho Calibre 2 12-29-2012 05:54 AM
Touch Kobo Touch - Author Sort Bug Nigol Kobo Reader 2 06-18-2011 05:45 PM
603 PB603, french dictionary accents issue daniel_hokkaido PocketBook 0 03-10-2011 12:59 PM


All times are GMT -4. The time now is 12:27 PM.


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