Bug 116763

Summary: EDITING: The find tool doesn't match smart (Unicode) apostrophes
Product: LibreOffice Reporter: Andrew Hyatt <andrewrhyatt>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: andrewrhyatt, dgp-mail, jumbo4444, thomas.lendo, txman201
Priority: medium    
Version: 6.0.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=126752
https://bugs.documentfoundation.org/show_bug.cgi?id=117643
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102847, 103341    
Attachments: Related settings

Description Andrew Hyatt 2018-04-03 01:27:28 UTC
The find tool won't match the 'typewriter apostrophe' to smart (Unicode) apostrophes like MS Word and most other word processors do. 

Steps to reproduce:

Turn on Language Settings -> English sentence checking -> Punctuation -> Apostraphe

Type a document with Words such as "can't", "won't", "shouldn't", etc

Search for them with the find tool

They can't be found because what you are searching for is the typewriter apostrophe and LibreOffice replaced those with Unicode apostrophes. 

This also applies to Unicode quotes and similar punctuation characters.
Comment 1 Dieter 2018-04-04 07:14:44 UTC
(In reply to Andrew Hyatt from comment #0) 
> Steps to reproduce:
> 
> Turn on Language Settings -> English sentence checking -> Punctuation ->
> Apostraphe

Can't find those settings.

I choosed
Options => Language Settings => Languages => ????
Comment 2 Andrew Hyatt 2018-04-04 18:43:44 UTC
Created attachment 141093 [details]
Related settings
Comment 3 Andrew Hyatt 2018-04-04 18:45:35 UTC
(In reply to Dieter Praas from comment #1)
> (In reply to Andrew Hyatt from comment #0) 
> > Steps to reproduce:
> > 
> > Turn on Language Settings -> English sentence checking -> Punctuation ->
> > Apostraphe
> 
> Can't find those settings.
> 
> I choosed
> Options => Language Settings => Languages => ????

See the file I just attached (Related settings) to see what settings these are. My installation is set to English (USA).
Comment 4 Laurent Balland 2018-04-14 16:41:54 UTC
Hello,
The automatic replacement of single quote by a smart apostrophe is controlled via: Tools > AutoCorrect > AutoCorrect Options, Localized Options tab, Check/Uncheck "Replace" checkbox for Single Quotes.

Options in Tools > Options > Language Settings > English sentence checking, Punctuation propose the modification of the character afterwards.

You need to copy the word you are looking for.
Comment 5 xordevoreaux 2018-05-21 20:23:18 UTC
This:
-------------------
Hello,
The automatic replacement of single quote by a smart apostrophe is controlled via: Tools > AutoCorrect > AutoCorrect Options, Localized Options tab, Check/Uncheck "Replace" checkbox for Single Quotes.

Options in Tools > Options > Language Settings > English sentence checking, Punctuation propose the modification of the character afterwards.

You need to copy the word you are looking for.
--------------------

Was the same response I got from someone else, who subsequently closed my bug as not a bug, because we have the privilege as a work-around of putting up with some asinine situation where we cannot use one function (smart quote replacement) if we expect to use another (word search).

Unacceptable.  I tested in MS Word 365, and it has zero problems finding words with smart quote apostrophes.

LibreOffice Writer should be no different.
Comment 6 Buovjaga 2018-10-13 10:02:18 UTC
*** Bug 120010 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2020-06-14 12:56:48 UTC
*** Bug 127449 has been marked as a duplicate of this bug. ***