View Single Post
Old 01-12-2016, 06:37 AM   #1
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Apostrophe in Title/Filename

I have hit a problem using a new Reader - It has issues with files which contain an apostrophe in their filename.

When I transfer a file it uses {title_sort} in generating the filename and in some cases this results in a filename which contains an apostrophe.

While I can avoid this by using Titles that don't contain an apostrophe it is a messy approach as all my other readers are happy with this (I think FWICR that in the case of Kepubs this is handled by the extended Kepub driver).

Is there any way to "sanitise" the title when using an Android device driver (or preferably any driver) when generating the filename so that for instance a title "The Prince's Purse" finishes up as a filenem "Princes Purse, The" .

BobC
BobC is offline   Reply With Quote