View Single Post
Old 01-17-2018, 11:16 PM   #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,419
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sigh. Trust Apple to implement something like this with no way to turn it off on a per input field basis in Safari.

Two possible solutions:

1) Just blindly replace smart dquotes in the search expression before sending it to the server. Simple to implement, but it breaks searching for terms that contain smart dquotes.

2) Actually modify the search expression parser to handle smart dquotes as quotation delimiters. Since, IIRC, the parser was written by chaley, in its current form, he should comment on how feasible this is.
kovidgoyal is offline   Reply With Quote