View Single Post
Old 05-08-2014, 01:26 PM   #1
rpspringuel
Enthusiast
rpspringuel began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Feb 2014
Device: Kindle 4
Author sort algorithm and accented characters

I was modifying the Author sort tweak to include some additional copy words and came across a problem when adding "Académie". I was able to add the word to the copy list okay, but after restarting calibre I noticed that the author sort values for the appropriate entries in my library weren't being calculated correctly when I recalculated all author sort values. Opening up the tweak, I see that the word had been mangled to: "Acad\xc3\xa9mie"

Further testing showed that other accented characters behaved similarly. Further, using unaccented characters in the tweak doesn't work either ("Academie" stays the same in the tweak, but doesn't appear to match "Académie" in the author name and so it isn't recognized as a copy word).

Any idea on how to add words with accented characters to the copy words list (and the other lists to, while we're at it)?
rpspringuel is offline   Reply With Quote