Preview and "Smart" quotes

I am trying to search through a PDF document that contains some (unfortunately named) "smart quotes". The term I am searching for is "Dean's", however the document contains "Dean’s". The quote mark in the second word is actually a multibyte Unicode character.
Is there a way to configure Preview, or the Mac in general, to ignore these differences when performing searches? That is, to find "Dean’s" even when I'm looking for "Dean's"? As a human, there's essentially no difference between the two.

Is there a way to configure Preview, or the Mac in general, to ignore these differences when performing searches?
I think not, they represent two different character streams. You probably need to search for both if you don't already know which of them the text uses.
But some apps may do this automatically. I think Pages, for example, may find both kinds of punctuation when you put either in the Edit > Find dialogue.

Similar Messages

  • Characters such as apostrophes and smart quotes turning into boxes or question marks

    We recently upgraded from CF5 to CF7 and are having a problem
    with previously saved text that no longer displays correctly. Some
    characters (apparently, non-ASCII characters such as curly
    apostrophes and smart quotes) are rendering as boxes or question
    marks. We recently upgraded to Oracle 10g from Oracle 8i, but this
    problem appears to be independent of the database that the text is
    stored in. Here is sample code that will illustrate the problem:
    <CFSET string1="Department’s">
    <CFSET string2="hey—there">
    <CFOUTPUT>
    string1 is #string1#
    <BR>
    string2 is #string2#
    </CFOUTPUT>
    output looks like this:
    string1 is Department?s
    string2 is hey?there
    These are rendered as boxes when viewed in Internet Explorer.
    (They show up as question marks when I copy and paste them here.)
    The Demoronize UDF helps *some* of the time, but this is
    still happening with a lot of text, especially text that gets
    pasted from a website into a form, then saved to a database. Does
    anybody have a solution for this? This is breaking my applications
    and is incredibly annoying. I'd like to either replace the
    problematic characters at the time they are displayed, or replace
    them when they are input in the database in the first place (and go
    back and update all the previously saved data to replace the
    problematic characters with plain text equivalents).
    Any suggestions appreciated.

    I finally isolated the problematic characters so I edited the
    DeMoronize UDF (available at cflib.org) by adding the following
    text replacements at the bottom:
    text = Replace(text, chr(8208), "-", "ALL");
    text = Replace(text, chr(8209), "-", "ALL");
    text = Replace(text, chr(8210), "&ndash;", "ALL");
    text = Replace(text, chr(8211), "&ndash;", "ALL");
    text = Replace(text, chr(8212), "&mdash;", "ALL");
    text = Replace(text, chr(8213), "&mdash;", "ALL");
    text = Replace(text, chr(8214), "||", "ALL");
    text = Replace(text, chr(8215), "_", "ALL");
    text = Replace(text, chr(8216), "&lsquo;", "ALL");
    text = Replace(text, chr(8217), "&rsquo;", "ALL");
    text = Replace(text, chr(8218), ",", "ALL");
    text = Replace(text, chr(8219), "'", "ALL");
    text = Replace(text, chr(8220), "&ldquo;", "ALL");
    text = Replace(text, chr(8221), "&rdquo;", "ALL");
    text = Replace(text, chr(8222), """", "ALL");
    text = Replace(text, chr(8223), """", "ALL");
    text = Replace(text, chr(8226), "&middot;", "ALL");
    text = Replace(text, chr(8227), "&gt;", "ALL");
    text = Replace(text, chr(8228), ".", "ALL");
    text = Replace(text, chr(8229), "..", "ALL");
    text = Replace(text, chr(8230), "...", "ALL");
    text = Replace(text, chr(8231), "&middot;",
    "ALL");

  • CF 7.02 Access Encoding and Smart Quotes

    The latest version of ColdfFusion with the updater applied
    (7,0,2,142559 ) does not properly handle smart quotes pasted from
    MS Word using UTF-8 as the charset. This worked on CF7 pre updater
    and CF 6. Is anyone aware of a fix for this ?

    France19 wrote:
    > The latest version of ColdfFusion with the updater
    applied (7,0,2,142559 ) does
    > not properly handle smart quotes pasted from MS Word
    using UTF-8 as the
    > charset. This worked on CF7 pre updater and CF 6. Is
    anyone aware of a fix for
    > this ?
    sure? i thought you had to use access for unicode to get
    unicode support in access.

  • Muse and Smart Quotes

    How do you get Muse to use Smart Quotes? Can it? Can it do Roman Hanging Punctuation as well?

    With a Mac, you have to use these key combos:
    For this
    character
    Press
    these keys
    Option-[
    Option-]
    Option-Shift-[
    Option-Shift-]

  • Fails to create preview and smart preview

    Hi, I am using MacBook (late 2008) OS X 10.9.2 and recently upgraded to Lightroom 5.3 from Lightroom 4. After a while, some photo started to show exclamation mark at the right hand corner of the photo (*.CR2 raw files in NAS) in grid view. When I click on the exclamation mark, it shows a dialog with following message; "Lightroom has encountered problems reading this photo". So, I moved previews.lrdata, which is about 9GB, to the trash and restarted the Lightroom 5, expecting Lightroom 5 to create a new previews.lrdata. However, it won't create any preview at all. Anyone else having same kind of problem?
    exclamation mark at the top right hand corner of the photos in grid view.
    size of Previews.lrdata file stops at 152KB.

    Jao, thanks for the quick response! I tried what you have said before reading your post and was able to solve this. The cause was exactly what you have pointed out and I changed connection protocol from cifs to smb. Thank you very much for suggestion

  • Find open and close smart quotes

    Dear scripter,
    Here I am trying find whether all the open double smart quotes(") are closed with close double smart quotes("). Here is my small work to find how many open and close quotes.
    myopenqu=app.activeDocument.search("^{", false, false, "^{");
    myclosequ=app.activeDocument.search("^}", false, false, "^}");
    myopenqulength = myopenqu.length;
    myclosequlength = myclosequ.length;
    if(myopenqulength!=myclosequlength)
    alert("Quotes not matched\n"+ myopenqulength +" Open quotes found\n" + myclosequlength +" Close quotes found")
    It works well, the script just alert if I have 25 open quotes and 23 close quotes
    Quotes not matched
    25 Open quotes found
    23 close quotes found
    Now I want to find the quote set where the 24,25th set close quotes are missing?
    Is there any way to find the misisng quotes
    Thanks in advance
    regards
    a r u l
    vpublish.net

    You'd have to look for unmatched quotes, in this case two cases of two open quotes without an intervening closed quote. This is difficult to script in CS2 because it doesn't have GREP natively and because of footnote problems. In CS3/4 it should be possible. But even then it will work only if you don't have quotes within quotes.
    Peter

  • Smart quotes and em-dashes in epub file

    When I create an epub file from my InDesign book file, I find that sometimes (not always, thought!) my smart quotes and em-dashes revert to gibberish.
    For example, when I open the epub file, the em-dash is fine, but in chapter 2, it changes to —.
    Does anyone know how I might correct this?
    Thanks so much!

    It sounds like somethings wrong with the chapter's character encoding.  The character encoding is declared in the header of the ePub HTML. From ID it's:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    This test has UTF-8 declared in the first line of its source code:
    http://www.zenodesign.com/forum/encodetest/UTF8.html
    And this has no encoding
    http://www.zenodesign.com/forum/encodetest/None.html
    Most browsers let you override or choose the character set, so in Safari if you set the character set to View>Text Encoding>default, you'll see a difference between the above links, but if you set it to Unicode (UTF-8) they both display correctly. In FireFox it's View>Character Encoding.
    You can check and edit the contents of the .epub file by changing the extension from .epub to .zip, and then extracting the contents.

  • Find and replace smart quotes with straight quotes?

    I understand I can turn off smart quotes so that I can type straight quotes, but I need to replace hundreds of curly smart quotes with straight quotes, is there a feature that will let me do this? I am using FM8.
    Thanx,
    Willian

    I am using FM9....so I don't know if the same shortcuts apply, but this is what I found out last week.
    Use the Find and Replace tool:
    With smart quotes turned off and the Num Lock key turned on:
    Alt0147 will give you beginning quotation marks
    Alt0148 will give you ending quotation marks
    In the Find box use ALT0147 or ALT0148 for the beginning or ending quotes. When you click in the box and type
    one of the shortcuts the correct quote will be shown in the box.
    In the replace box type the regular straight quotes on your keyboard.
    I was thrilled that it would work!...course you do have to do them separately and be careful not to replace the curly quotes
    that you want to leave in your document.
    Hope this helps using FM8....
    ls

  • Convert smart quotes and other high ascii characters to HTML

    I'd like to set up Dreamweaver CS4 Mac to automatically convert smart quotes and other high ASCII characters (m-dashes, accent marks, etc.) pasted from MS Word into HTML code. Dreamweaver 8 used to do this by default, but I can't find a way to set up a similar auto-conversion in CS 4.  Is this possible?  If not, it really should be a preference option. I code a lot of HTML emails and it is very time consuming to convert every curly quote and dash.
    Thanks,
    Robert
    Digital Arts

    I too am having a related problem with Dreamweaver CS5 (running under Windows XP), having just upgraded from CS4 (which works fine for me) this week.
    In my case, I like to convert to typographic quotes etc. in my text editor, where I can use macros I've written to speed the conversion process. So my preferred method is to key in typographic letters & symbols by hand (using ALT + ASCII key codes typed in on the numeric keypad) in my text editor, and then I copy and paste my *plain* ASCII text (no formatting other than line feeds & carriage returns) into DW's DESIGN view. DW displays my high-ASCII characters just fine in DESIGN view, and writes the proper HTML code for the character into the source code (which is where I mostly work in DW).
    I've been doing it this way for years (first with GoLive, and then with DW CS4) and never encountered any problems until this week, when I upgraded to DW CS5.
    But the problem I'm having may be somewhat different than what others have complained of here.
    In my case, some high-ASCII (above 128) characters convert to HTML just fine, while others do not.
    E.g., en and em dashes in my cut-and-paste text show as such in DESIGN mode, and the right entries
        &ndash;
        &mdash;
    turn up in the source code. Same is true for the ampersand
        &amp;
    and the copyright symbol
        &copy;
    and for such foreign letters as the e with acute accent (ALT+0233)
        &eacute;
    What does NOT display or code correctly are the typographic quotes. E.g., when I paste in (or special paste; it doesn't seem to make any difference which I use for this) text with typographic double quotes (ALT+0147 for open quote mark and ALT+0148 for close quote mark), which should appear in source code as
        &ldquo;[...]&rdquo;
    DW strips out the ASCII encoding, displaying the inch marks in DESIGN mode, and putting this
        &quot;[...]&quot;
    in my source code.
    The typographic apostrophe (ALT+0146) is treated differently still. The text I copy & paste into DW should appear as
        [...]&rsquo;[...]
    in the source code, but instead I get the foot mark (both in DESIGN and CODE views):
    I've tried adjusting the various DW settings for "encoding"
        MODIFY > PAGE PROPERTIES > TITLE/ENCODING > Encoding:
    and for fonts
        EDIT > PREFERENCES > FONTS
    but switching from "Unicode (UTF-8)" to "Western European" hasn't solved the problem (probably because in my case many of the higher ASCII characters convert just fine). So I don't think it's the encoding scheme I use that's the problem.
    Whatever the problem is, it's caused me enough headaches and time lost troubleshooting that I'm planning to revert to CS4 as soon as I post this.
    Deborah

  • Combining smart quotes and inch marks?

    Dilemma! I have smart quotes turned on because I need them. I also need to be able to use inch marks in the same document. I have searched the Help files with no luck. Can anyone tell me if there's a way to have both smart quotes and inch marks in the same Pages document?
    Thanks in advance!
    Powermac G5 & Powerbook 15" Mac OS X (10.4.8)
    Powermac G5 & Powerbook 15"   Mac OS X (10.4.8)  

    You can indeed combine smart quotes and the character that indicates inches, by using the appropriate inch mark character from the system-wide Character Palette. To do this, you will need access the Input Menu at the top right of the menu bar. If you don't have the Input Menu visible, go into the International System Preferences, in the Input Menu tab, check the "Show Input Menu in Menu Bar" option at the bottom of the panel, and check "On" for the Character Palette. This will put a little flag on the right side of your menu bar -- this is the Input Menu.
    From the Input Menu, select the Character Palette. With the palette open, choose the Punctuation category. You will be presented with a wide array of punctuation characters, including proper inch and foot marks (which are actually "prime" and "double prime" marks, and are angled, unlike straight quotes). Select in Pages where you want the character to go, and then double-click it, and it will be inserted. The prime and double-prime marks are not considered quotes by the system, and so won't be curlified.

  • Smart Quotes in German and English

    I just upgraded from 10.4 with Office to 10.6 with iWork. So far I've enjoyed iWork. I switch often between writing documents in English and German (usually not switching language within the document) and can't figure out a more efficient way to get the German quote system to work when I type in German. I found the language setting in the Text Inspector in Pages, but when I start typing in German it still uses the English quoting system. Otherwise I have only found the option to set smart quotes as either "English" or „German" in System Preferences, with no more efficient way to toggle between the two. Using the Character Viewer seems like an awkward way to go about solving this problem. What am I missing here?

    fruhulda wrote:
    Language switcher is an application that can change the language for an application without logout/ login procedure. If it will change the smarts quotes I don't know. Doesn't cost to try-
    It's to this app which I thought when I wrote:
    +(1) Force Pages to run in German, a task which requires an external tool in 10.6.+
    To be honest, I thought also to the script which I wrote (and posted here) to do the trick
    But I don't think that it's a soluce to the described problem.
    When we want to use two languages in a given document, chaging the language used by the app is not a viable protocol. This is why I think that building a favourite page in the Character palette is a good soluce.
    I asked several times Apple to offer a way to define on nthe fly thru a preference dialog the punctuation character which we want to use.
    It seems that the feature is available in 10.6.2 but, it doesn't apply to the apps which I use daily.
    I assume that the next iWork delivery will be able to take benefit of these new system features.
    Yvan KOENIG (VALLAURIS, France) vendredi 15 janvier 2010 21:41:56

  • Pasting smart quotes and apostrophes in code view.

    Sine upgrading to Dreamweaver CS5, I haven't been able to copy/paste smart quotes and apostrophes into code view without them automatically being converted to straight quotes.
    For example, the following sentence (notice the curly quotes):
    John’s new song is called “DW Blues”
    would get pasted into Code View as:
    John's new song is called "DW Blues"
    Notice the smart quotes and apostrophe are replaced with single and double ticks, or "straight quotes."  While this seems like a minor detail, it's extremely important to our writers and editors to have them appear on the website exactly as typed.
    If I do the same copy/paste in Design View (doc type is XHTML Transitional), it appears as:
    John's new song is called &quot;DW Blues&quot;
    The characters are still replaced, and the straight quotes are then entity encoded (as expected).
    This doesn't happen with other valid UTF-8 characters like ™, ®, —, etc., or with any other code editors I've used, including DW CS3.
    Is there a hidden preference somewhere to disable this "feature," or is it just a bug?
    Please help!

    It's now 4 years since jsparacio posted this, and I just wanted to let everyone know that I had -- and am still having -- the exact same problem with Dreamweaver CS5 (running first under Windows XP, then Windows 7, and now again with Windows 8.1). So it's not just Macs that are affected.
    FWIW, I have set my DW CS5 Paste preferences to the 3rd of 4 options available
        1 - Text Only
        2 - Text With Structure
        3 - Text With Structure Plus Basic Formatting
        4 - Text With Structure Plus Full Formatting
    in the EDIT > PREFERENCES > Copy/Paste Preferences dialog box.
    But the Paste Special command ignores this setting, giving me only the first 2 options from which to choose, with option 2 the default selection for Paste Special operations (options 3 and 4 are grayed out, and can't be selected).
    According to David Sawyer McFarland's _Dreamweaver CS5: The Missing Manual_ (O'Reilly Media, 2010), the reason these are grayed out is because I am pasting unformatted ASCII text which I generated in a program editor called "UltraEdit":
        "... Choose EDIT > PASTE SPECIAL to open the Paste Special window. Here, you can choose which of the four techniques you wish to use ... sort of. You're limited to what Dreamweaver can paste. For non-Microsoft Office products, you can use only the first two options--the others are grayed out--whereas you can choose from any of the four with text copied from Word or Excel." (McFarland, p. 81)
    Regardless of such restrictions, standard copy-and-paste (CTRL+C followed by CTRL+V) works just fine for me using Dreamweaver CS4 (i.e., I have never needed to use the Paste Special command), but with DW CS5, neither Paste command (CONTROL+V or CTRL+SHIFT+V) works properly with typographic/curly/smart quotes.
    All typographic quotes -- ASCII-0146 and ASCII-0147 (double quote marks); plus ASCII-0145 and ASCII-0146 (single quote marks, for quotes within a quote) -- are converted to inch (&quot; is entered in the code) and foot (' is entered in the code) marks when I copy-and-paste text with these characters into Dreamweaver's Design View.
    When I copy this same plain ASCII text directly into the code (rather than using Design View), typographic double open & close quotes are converted to the inch (") mark, and typographic single open & close quotes are converted to the foot (') mark.
    The beginning of this week, I installed Dreamweaver CS5, ver. 11.0, Build 4909 under Windows 8.1 OS on my new Ultrabook. I was hoping that under Windows 8.1, DW CS5's handling of typographic quotes might improve so that I can actually use this program that I purchased 4 years ago. Alas, no such luck: I continue to have the same problem I had when I first upgraded to Dreamweaver CS5 back in August 2010 (then running under Windows XP on my desktop computer).
    Back in August 2020, when I first asked about fixes, I was told to change the Title/Encoding setting of Page Properties to "Western European" -- which I tried, but it didn't work then, and it doesn't work now ... and even if it did, it wouldn't be a proper fix for the problem as I have plenty of good reasons for wanting my HTML page Title/Encoding set to Unicode (UTF-8), not Western European ("charset=iso-8859-1").
    The ability to copy-and-paste typographic quotes is such a big deal for me that I chose back in August 2010 to revert to Dreamweaver CS4, which I've been using ever since.
    It is *very* frustrating that, 4 years later, I still can't use this program, and shall be reverting to DW CS4, yet again.
    I continue to be completely flummoxed by this. Every other program with which I am familiar converts non-typographic quotes to typographic/curly/smart quotes ... never have I seen the process automated in reverse!

  • "Smart Quotes" and Extensions

    I'm working on a text processing extension and want to implement a "Convert special characters to safe HTML entities" (that's just a working title!) menu option.  When I copy and paste some blocks of text from Word into the editor, then right-click my selection and choose my extension to process that text, the text that gets sent via the xml packet to my handler converts (in this case) Word's smart quotes (&#8220 and &#8221) to question marks.  This is before my handler processes anything.  I'm just using cfdump to look at the data.  Am I missing some intermediary processing that needs to be done somehow?  I can't figure out where it would be done since I don't have any control over the selected editor content until my handler is fired.
    Thanks!
    Andy

    The encoding is utf-8 (which is the default in CF 9 (and maybe CF 8 too), but I explicitly set it anyway, and still no luck.  It seems like Word Smart Quotes are actually seen by ColdFusion as 3 different characters.  I don't know that Smart Quotes are actually representable as specific entities, though.  When I copy a closing smart quote out of Word into a cfm file and so something like <cset q = "{smart quote here}">, and then loop over that variable one character at a time and output the ascii values, I get 3 values: 226, 8364, 65533.
    Here's a test that contains Smart Quotes that I just copied from MS Word into this editor, it will be interesting to see how they are represented after I post this message:
    “Test”
    Andy

  • Is there any benefit for me to use smart previews if my Lightroom 5 catalog, previews and media are all on the same external USB HD?

    I keep everything on 1 External USB3 HD so that I can pug it into my Mac at home or my PC at work and just keep working without syncing anything to the local machine. So is there any benefit with Smart Previews in this case? I heard somewhere that it might make the Develop module a little quicker, but is this only when using the Smart Preview and not the full res image?

    Lr uses smart previews instead of ACR cache for initial develop-module view when photos are online - amount of benefit is, in my experience, very minor (not noticeable without using a stop-watch..).
    But if photos are offline, you may experience more substantial savings.
    Note: smart previews are reduced resolution - smart previews of raw files are 2560 x (say) 1920, so if your original raws were say 5120 x 3840, then you/Lr are dealing with 1/4 the number of pixels when editing via smart previews.
    Anyway, if you are willing to give up zoom for one edit pass, you can resize the smart previews so 1:1 fits in your allotted display space (e.g. 1280 x 960, which would be 1/8 number of pixels..), e.g. using the PreviewExporter plugin - then things may be significantly faster in develop module. PreviewExporter also has a feature to take originals offline, and put them back online.
    To be clear: the amount of savings may or may not be dramatic - how much there is depends on your system, size of raw vs. smart preview image, number and type of edits applied, etc..
    Why don't you try it and tell us what you think?!
    Cheers,
    Rob

  • Edit smart object open in preview and not ai...

    Hello,
         Al working on a layout with CS4 master collection.  In PS I pasted an ai as a smart object.... But now when I edit the smart object it opens in preview and not AI.
    Any thoughts?
    thanks

    The matter has come up recently already, a forum search turns up:
    http://forums.adobe.com/message/2416222#2416222
    So unless updating the OS helps the problem may be persistent.
    A work-around may be to Export Contents, edit in Illustrator, save that and then Replace Contents back in Photoshop.

Maybe you are looking for