Pages 2 -- return of a smart-quotes problem

In Pages 2, if one puts a word or phrase in smart quotes within parentheses ("like this, except that here there aren't any smart quotes"), the opening smart-quote mark faces the wrong way -- as though it were the "closing" mark. This was originally the case in Pages 1, but it seemed to be cured in a later bug fix. The bug appears to be back with Pages 2. This is a major problem for lawyers, among others, who use words and phrases in quote marks and within parentheses, to define certain terms in a document. Obviously, one can do a cut-and-paste fix, but it is a pain.

DennisG you da man, Now I know re those pesky quotes that look backwards.
Not going for brownie points or literary awards with my Newsletter, when the quotes look away from the text, I'll be able to explain to critics like Veronica says on the computer, "Not my fault". Blame Apple.
Next time those quotes go bonkers, I'll try your tip. Thanks. Ol' Jim.

Similar Messages

  • Smart quotes not working in Pages 5.5.2

    I'm unable to get smart quotes in Pages.
    I'm on a 2009 iMac, using Yosemite 10.10.1, Pages 5.5.2
    I've followed the instructions on Apple's page (http://help.apple.com/pages/mac/5.0/#/tanad45f9cce) to make all quotes smart quotes in my document and it didn't work.
    When I opened Substitutions in Pages the box for smart quotes was ticked, unticking and reticking and doing 'replace all' made no difference.
    Prior to this I'd just changed the font style setting for the document from Courier New to Times New Roman.
    I've also checked in System Prefs/Keyboard/Text where 'Use smart quotes' is ticked.
    I'm formatting a book, this is holding up production of my book as all quotes are non-curly, straight quotes and need to be changed to smart quotes.
    I'm wondering whether I shouldn't go back to the previous version of Pages where everything seemed to work, including auto capitalisation.

    Additionally re my first post above I've tested for smart quotes in MS Word 2008 and Mail 8.1 and they both support smart quotes. Word also converts between quote types.
    I've had to create a workaround to get my Pages document showing smart quotes:
    I tested smart quote support in Word by pasting a page from the Pages document into Word and then converting the straight quotes to curly quotes. which worked. I then copied that text and pasted it back into a new blank page in Pages, the smart quotes stayed curly. So, I'm about to copy and paste my whole book, 55,000+ words, into Word and convert quotes and then paste it back into Pages.
    It seems like the smart quotes issue is Pages 5.5.2 specific and has been for quite some while.

  • Re: Smart quotes won't work

    My situation is a bit different to the main thrust of this thread but is still 'smart quotes don't work'.
    I'm on a 2009 iMac, using Yosemite 10.10.1, Pages 5.5.2
    I've followed the instructions on Apple's page (http://help.apple.com/pages/mac/5.0/#/tanad45f9cce) to make all quotes smart quotes in my document and it didn't work.
    When I opened Substitutions in Pages the box for smart quotes was ticked, unticking and reticking and doing 'replace all' made no difference.
    Prior to this I'd just changed the font style setting for the document from Courier New to Times New Roman.
    I've also checked in System Prefs/Keyboard/Text where Use smart quotes is ticked.
    I'm formatting a book, this is holding up production of my book as all quotes are non-curly, straight quotes and need to be changed to smart quotes.
    I'm wondering whether I shouldn't go back to the previous version of Pages where everything seemed to work, including auto capitalisation.

    Pages '08 and '09 are unaware of the Operating System on this point.
    You get the described characters because the app is running in German.
    At this time, you
    may just disable the quotes substitution feature.
    Uncheck the box which is checked here.
    I will search in the app resources if I may change the set of substitution quotes.
    Yvan KOENIG (VALLAURIS, France) dimanche 30 janvier 2011 17:52:29
    I got it.
    The resource is stored in :
    Macintosh HD:Library:Application Support:iWork '09:Frameworks:SFWordProcessing.framework:Versions:A:Resources:German.lproj:Aut oCorrect.plist
    To change the behavior, you must edit the pointed set of characters.

  • Replacing quotes/apostrophes with smart quotes/apostrophes

    In previous versions of Pages, when pasted content included stardard quotes or apostrophes you could do a quick replace with smart quotes/apostrophes simply by doing a find and replace. Not so with the new Pages 5.
    Anyone figured out how to force Pages to do such a replace? Manually trying to do it on a long document is crazy.

    What's worse: I just did a global find and replace, trying to fix four dumb quotes in an entire document that I'd cut and pasted--and Pages turned every single smart quote into a dumb quote. In all 92 pages. 1,600 smart quotes dumbified. With no way for me to smarten them up again.
    Then, because I'm just as dumb as my quotes, I did the same thing with my single quotes/apostrophes.
    I know how I'll be spending my afternoon.

  • Problem with javascript/PHP/ oracle 10g smart quotes

    I have a problem with my php form that passes the text field to a javascript object. When I copy text from MS Word that includes smart quotes, the form inputs that into the database as ? (upside down) marks. The charset of the DB is WE8MSWIN1252. How do I store these smart quotes as regular quotes? And also if I can do any conversions on the front end (js or php). I tried doing some conversion but to no avail. Any help would be appreciated thank you. “double”

    Decide if you want your HTML pages in Windows code page 1252 or Unicode UTF-8. Then, make sure the pages are properly tagged as either "text/html;charset=windows-1252" or "text/html;charset=utf-8". Use HTTP header Content-type or the corresponding <META HTTP-EQUIV=...> tag. Then, set NLS_LANG environment variable for your PHP engine to either AMERICAN_AMERICA.WE8MSWIN1252 or to AMERICAN_AMERICA.AL32UTF8, depending on which encoding you selected for your HTML.
    -- Sergiusz

  • Smart quotes' substitution not working in Pages 5.2.2.

    I've got Pages 5.2.2. and I can't substitute smart quotes using the substitution tool. I can only do it 1 by 1.
    Neither "replace all" or "replace in selection" seem to work.
    Any advice greatly appreciated.

    Yes, this is dysfunctional. No difference whether Smart Quotes enabled on this panel and/or in the System Preferences > Keyboard > Text panel. Another fine example of write/modify code without adequate testing.
    If you also happen to have Pages 09 v4.n in your /Applications/iWork '09 folder, use that after exporting the Pages v5.2.2 content as Pages '09.

  • 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

  • Smart quotes stored in DB are displaying as ? after jdbc select

    I originally posted this to the general forum, but it was suggested that I post it here where Sergiusz Wolicki from Oracle might be able to help.
    I have an Oracle 10 DB set up with the following character set
    NLS_LANGUAGE AMERICAN
    NLS_CHARACTERSET WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET AL16UTF16
    I am connecting to the database using JDBC thin client. I have a web page that is encoded using
    <%@ page language="java" pageEncoding="Windows-1252" contentType="text/html;charset=Windows-1252" %>
    The scenarion I am having problems with is the following. In an input field the user copies a so-called smart quote from Word and submits. I then update the corresponding database field and then return to the page and display the result.
    If I display the string that I wrote to the database back in the page, without selecting it from the database, it displays correctly. However, if I select it from the database and then display it in the page I get a question mark ('?') - note that this is NOT the upside down variety.
    I believe it is inserting it into the database correctly. I can go into sql plus and do a select on the field and it appears to be correct. I can also use the ascii function and it shows the character as character 145. Here is what I did:
    select middle_name from employee where employee_id=100;
    MIDDLE_NAME
    select ascii(middle_name) from employee where employee_id=100;
    ASCII(MIDDLE_NAME)
    145
    So my problem is getting it out of the database and into a java string properly.
    I know I can solve this issue by changing the database character set to UTF-8, but I am not in control of this and it is not an option.
    Thanks in advance for any help on this.

    I suspect this may be the result of bug #4659157. Upgrade your JDBC driver to 10.2.0.4 or to any 11g driver and retest.
    -- Sergiusz

  • German smart quotes on English UI

    Hi,
    I need to write German letters on my MacBook Air, whose language settings are set to English (US). The problem is that even when spell check is set to German, the smart quotes still appear as the should in the English language. I originally was a Windows user and when I use MS Word to type, it automatically detects document language and formats text accordingly. The following is what shows up when I use Word on Windows:
    „Guten Morgen“, sagte der Bäcker.
    “Good morning”, said the baker.
    When I use any writing software on Mac, though, it shows up like this (and even in retrospect, there doesn't seem to be a way to change it):
    “Guten Morgen”, sagte der Bäcker.
    “Good morning”, said the baker.
    I understand that in OS X, software-specific language settings depend on the system language. Coming from Windows, I'm surprised that there is no way to set document language in OS X. Or is there?
    What do I need to do to type a German letter, complete with all German symbols, but without having to switch system language every time? I'm sure I'm not the only one with this problem, but I could not find any good ideas on how to solve my problem. I hope you can help me.
    Best wishes.
    Nils

    How about an OS X service that works in any application, and will place Gänsefüßchen around any selected text string. What if you selected the text, and then pressed control+Q, and the quotes were inserted around the selected text? You may also find this a useful tool.
    Open Automator, New Document, and Service.
    In the left Automator panel select Library > Utilities > Run AppleScript.
    Drag and drop the Run AppleScript action into the larger workflow window to the right.
    Select and remove the contents of that Run AppleScript window.
    Copy/Paste the AppleScript code from below into the Run AppleScript window
    Click the hammer in the Run AppleScript toolbar
    Service receives text from any application
    Output replaces selected text
    Automator > File > Save...
    Give your script a meaningful name. I called mine Gänsefüßchen.
    It is written into your <login>/Library/Services folder
    In System Preferences > Keyboard > Shortcuts > Services
    Scroll down in the right window until your assigned service name appears
    On the right side where it says none, click once, and it will change to an add shortcut button.
    Type control and Q which will appear as ^Q. Press return. Exit System Preferences.
    Exit any running application where you might use this. Then restart the application.
    With your text selected, press control+Q to get the Gänsefüßchen.This service item appears under Application Name > Services too.
    Automator Service Gänsefüßchen
    AppleScript code
    on run {input, parameters}
      -- we want to insert german quotes around the selected text
      tell application "System Events"
      set links_zitat to "„"
      set recht_zitat to "”"
      set german_quotes to ""
      set german_quotes to links_zitat & input & recht_zitat
      set input to german_quotes
      end tell
      return input
    end run

  • 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!

  • Czech smart quotes

    I was wondering how to set Czech smart quotes in Pages 09. I have set Language in System Preferences->International to Czech, but I get US smart quotes anyway, even though the rest of language specific formatting (p.e. date) is in Czech.
    I have tried to set language to German and it works fine, you get German smart quotes. But setting it to Czech, you do not!
    Can that actually be a coding bug, because the locale for Czech is badly programmed? Or is it possible to set it in a different way?

    _At this time, the quotes aren't ruled by the operating system but by the application._
    The plist used is the one linked to the localized version of iWork which is used.
    As there is no Czech iWork version, we must rely on a surgery applied to the used localized version.
    If the OP uses iWork in English, he must edit the english dedicated file.
    If he uses the German version it get the correct quotes automatically.
    From my point of view, the real problem with the way this feature is treated is that Apple assumes that the straight chars must be replaced by single chars which is perfectly wrong.
    The author of the FREE program entitled Bean wa able to offer a better support of this feature.
    Bean gives us the abilty to deplace the straight double quotes by the pairs
    LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + NARROW NO-BREAK SPACE
    and
    NARROW NO-BREAK SPACE + RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
    required by French of France.
    At this time, it seems that Apple developers aren't so cute
    Yvan KOENIG (from FRANCE lundi 11 mai 2009 19:26:41)

  • CharConversionException when displaying smart quotes

    My servlets are throwing a CharConversionException when I attempt to display "smart quotes." The quotes and other symbols (i.e. long hyphen) are entered into an online form when a user composes something in Word 2000 then copies/pastes it into a text field. The servlet is able to get the parameter and update the MS SQL 7 database but not display the value back in the confirmation page. I am running this application on iPlanet web server v.6 SP 1. It seems to be related to my servlet engine as it doesn't have this problem when using the servlet runner (srun)--that will display the characters as a question mark. This is a set of �smart quotes� and a long�hyphen

    problem solved:
    1.- I changed the response content type of my Servlet to:
    response.setContentType("text/html;charset=\"windows-1252\"");
    2.- In my DB I changed the type of the field to the "nText" type which support more characters like Unicode, etc

  • UDF for all inputs (fix microsoft smart quotes)

    Does anyone know how to add a UDF for all inputs and outputs
    to a query?
    I am trying to use the function to remove all smart quotes
    from being displayed and don't want to change all the pages on the
    site.
    The UDF I'm using is the following:
    <CFSCRIPT>
    function killcurly(formval){
    var outval = formval;
    outval = replace(outval,chr(8220),chr(34)); // replace left
    Curly double quote
    outval = replace(outval,chr(8221),chr(34)); // replace right
    double quote
    outval = replace(outval,chr(8216),chr(39)); // replace left
    Curly single quote
    outval = replace(outval,chr(8217),chr(39)); // replace right
    Curly singe quote
    outval = replace(outval,chr(146),chr(39),"ALL");//replace
    square with single quote
    outval = replace(outval,chr(8230),'...'); // replace MS
    ellipsis with three periods
    outval = replace(outval,chr(8211),'-'); // replace MS em dash
    with ASCII dash
    outval = replace(outval,chr(10),' '); // optionally get rid
    of line break
    outval = replace(outval,chr(13),' '); //optionally get rid of
    carraige return
    return outval;
    </CFSCRIPT>
    Any info would be appreciated.
    Thanks,
    Justin

    I guess I should be more specific.
    I'm trying to add a function to all inputs without adding
    killcurly(varablename) to every declaration. (Each variable is also
    a different name.)
    I have about 100 or so files that need to be changed to this
    format and was wondering if there was an easier way to add it to
    all my variables?
    Thank you for your response,
    Justin

  • 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

Maybe you are looking for