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 "DW Blues"
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 (" 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!

Similar Messages

  • 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
        –
        —
    turn up in the source code. Same is true for the ampersand
        &
    and the copyright symbol
        ©
    and for such foreign letters as the e with acute accent (ALT+0233)
        é
    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
        “[...]”
    DW strips out the ASCII encoding, displaying the inch marks in DESIGN mode, and putting this
        "[...]"
    in my source code.
    The typographic apostrophe (ALT+0146) is treated differently still. The text I copy & paste into DW should appear as
        [...]’[...]
    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 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.

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

  • CS5: Pasting smart quotes into code view problem

    Hi all,
    In my blogging workflow, I copy the blog text from from MacJournal into the code view in Dreamweaver CS5.  In CS3, it seems that DW allowed the left & right smart and unicode quotes to be pasted in untouched.  However, DW CS5 seems to be converting all single ‘ & ’ to the ASCII ' and all “ & ” to ASCII ".  Is there a way to turn this off?
    I don't want to paste the text into the design view because I don't want DW to auto format the text.  I got some specific formatting that I like to do.
    Thanks!
    Steven

    Yes, the appropriate meta tag is in place.  In Preferences, UTF-8 is selected under Fonts.  Try pasting:
    “Test”
    into the code view and see what happens.  Hmm, Just tried pasting the above into the Design View and the same thing happened.  The curly quotes where changed into straight quotes.  BTW, I'm runn ing DW under Mac OS X Lion.
    I pasted the same text in another app, TextEdit, and the curly quotes pasted just fine.
    I need the curly quotes because I change them into &#8216;, &#8217;, &#8220;, and &#8221; (‘ ’ “ ”) for compatibility with older browsers (pre-IE6).  Yes, my site has been visited by such older browsers.
    Thanks!
    Steven

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

  • Smart LED and D-Bracket Codes

    Where can I find a list of error codes for the Smart LED and D-Bracket.  I didn't see them in the manual I downloaded.
    Thanks
    Mike

    Usually those codes are located in the very first few page of the manual.
    You can always download the manual from the Support page.
    http://www.msi.com.tw/program/support/manual/mnu/spt_mnu_list.php

  • Special double quotes and apostrophes in java help

    We are writing help for an application and using doctor help to generate it. The help is written in Word and converted to html. Word however, converts all the " characters to those "squiggly ones" which point towards the word they're quoting.
    When we viewed the generated help with java help those squiggly were not rendered. They are rendered as a square which means java help does not understand them.
    I'm sure someone else must have encountered this issue.
    Please can you tell me how to successfully render the squiggly double quotes in java help?

    You need the following encoding for those characters:
    &#8220;
    &#8221;
    using an xml encoder, e.g. xmlenc solves this issue, otherwise you must do it manually.
    But I have a related problem. When characters in the XML file are encoded
    they are only displayed correctly if some non encoded character follows.
    When there are two successive encoded characters then only the first one
    is displayed correctly. Putting a whitespace in between them displays both
    characters correctly, but with the whitespace in between.
    I guess there is an issue with the XML parser. Changing the encoding of the XML file does not help.
    example: TOC.xml file (displayed correctly in IE)
    <?xml version='1.0' encoding='ISO-8859-9' standalone='yes' ?>
    <!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN" "http://java.sun.com/products/javahelp/toc_1_0.dtd"><!--generated by JHelpDev Version: 0.4, 18 August 2005, see jhelpdev.sourceforge.net-->
    <toc version="1.0">
    <tocitem text="images "/>
    <tocitem text="&#286;&#286;RENC&#304; MOD&#220;L&#220; " target="index"/>
    </toc>
    Any ideas?

  • Quotes and apostrophes show as question marks when published to my server

    imac intel core 2 duo 24"   Mac OS X (10.4.9)  

    Miss Laverne, there is an "invisible" file called .htaccess that you can modify. It is a simple text file so if Fetch has a preference setting for viewing "invisible" files, you can see it. If it is not there, you can make one.
    Reason I know this is that I had a similar problem on my server, and modifying my .htaccess file solved it. UTF-8 encoding was the problem.
    Study up on .htaccess; there is info all over the internet.

  • Help! Can't paste into code view or property inspector

    I'm experiencing a weird and extremely annoying bug in Dreamweaver CS6 -- I can't paste text from outside apps into DW's code view or into the property inspector (such as URLs).
    Pasting doesn't work no matter the method: Ctrl + V, right-clicking or using the Edit menu. Pasting works normally in every other program. If I copy within Dreawmweaver, pasting works fine.
    Does anyone have a solution for this? I'm running Win 8 and DW 12.1 through Creative Cloud. Searching the forums, I see others have reported the same issue. Some have been able to fix it by deleting the configuration file; that didn't fix the issue for me. I'd like to try reinstalling DW, but the Adobe Application Manager doesn't seem to allow that.
    I began noticing this bug about two weeks ago. That might have been about the same time I updated to 12.1. Can anyone help?
    Thanks,
    Cory K.

    Adding to my last post, I used a clipboard format inspector called nclip (http://code.google.com/p/nclip/) to see if I could find a pattern between "what works" and "what doesn't".
    There are two cases where I'm seeing paste-into-Dreamweaver CS6 fail:
    Paste into Code View fails, but Paste into Design View works!
    Paste into either Code View or Design View fails
    I went through the list of programs that worked and didn't worked, using nclip to show what clipboard formats were being saved from each working and non-working source. It appears that DreamWeaver CS6 as of January 9, 2013 doesn't accept the most basic text clipboard formats:
    CF_UNICODETEXT
    CF_TEXT
    CF-OEMTEXT
    CF_LOCALE
    If these are the only clipboard formats used by an app (for example, Window's venerable Notepad.exe), Dreamweaver doesn't appear to handle them. Most programmer-style text editors output just these formats, because they are presumed to be understood any application that handles text. These fail for both pasting into codeview and design view.
    Interestingly, Chrome browser fails the code view test, but it does work in design view! It outputs the four clipboard types above, plus one more:
    Custom Format: HTML Format
    Hypothesis 1: Any application that puts HTML Format on the clipboard will paste into design view, but not necessarily code view.
    Next, Visual Studio 2010 and Sticky Notes, which doesn't include HTML Format as a clip type, works for both code view and design view. They both output this type in addition to the basics:
    Custom Format: Rich Text Format
    Two programs that output Rich Text Format without HTML Format are Sticky Notes and WordPad. These both work with Code View and Design View. From these limited tests on my system, it appears that for Dreamweaver to accept a text paste from an outside program into Code View, that program must output Rich Text Format to the clipboard. Otherwise, it fails. Dreamweaver will accept HTML Format, but only in Design View. Firefox is an exception in that it don't export Rich Text Format, but still works with Code View. It might use OLE, though (Chrome doesn't seem to use OLE, and it breaks in code view).
    Hypothesis 2: Any application that puts Rich Text Format on the clipboard will paste into design view AND code view.
    If Dreamweaver is really ignoring the basic text clipboard formats, and it's not just my system configuration, then this is a bug. Probably something that got overlooked in testing.
    To reproduce on Dreamweaver 12.1 build 5966:
    Try copy/pasting text from Notepad.exe into Dreamweaver Code View (DWCV). This fails for me.
    Try copy/pasting text from WordPad.exe into DWCV. This works!
    Try copy/pasting text from Internet Explorer 9 or Firefox into DWCV. This works!
    Try copy/pasting text from Chrome. This fails to paste into Code View, but does paste into Design View
    The Code View workaround:
    Use Firefox or Internet Explorer for your browser if you're copy/pasting source code.
    If you're working from another text editor, try copy/pasting into intermediate programs Sticky Notes or WordPad, then copy/paste from there into Dreamweaver.
    So that is my experience on Windows 7 64-bit. Anyone else experiencing the same thing?

  • Setting up prefs for code view fonts and sizes

    using cs5
    i copied some pages in from another computer... the fonts and sizes in code view are too small.
    in prefs - fonts - I made them bigger - then said apply source formatting
    but they don't always seem to stick - maybe the next day they are small again
    Q: how do I get font pref settings to work for all sites all the time?
    thanks in advance - dave

    Such settings are not carried in from external pages, they are part of your preferences.  In other words, opening a page could not change your existing preferences.

  • How do I turn off "Smart Cut and paste" in InDesign?

    Hi,
    A programmer told me, that ID has a function called "smart cut and paste":
    smart cut and paste boolean -- If true, automatically adjusts spacing among words and between words and punctuation marks when cutting and pasting text.
    http://www.mugginsoft.com/html/kosmictask/ASDictionaryDocs/Adobe/InDesign/OS-X-10.7/InDesi gn-CS5/html/html/FULL/classes/text_editing_preference.html
    Unfortunately, it shows some weird text exchange behaviour when copying and pasting text.
    My web and my forum search showed no results.
    So: How can it be turned off?
    Thanks for your help!
    Mathais

    Thank you very much!
    In the German version of InDesign's GUI it is called "Beim Ausschneiden und Einfügen von Wörtern Abstand automatisch anpassen".

  • I need the find bar to stop matching smart quotes for straight ones.

    Some recent update of Firefox caused the find bar to match smart quotes (“ and ”) for the straight quote ("). Additionally, it now matches smart single quotes and apostrophes (‘ and ’) for the straight single quote (').
    I need to disable this matching so that a search for a straight quote will only yield a straight quote result. Also, if any other character matching was added, I'd like to disable that too. I need exact results.

    Hi Chuck, this could be coincident with the launch of the "per-tab" find bar with its new UI design. However, I didn't see a specific but for the change in the tracking system (Bugzilla).
    If this is a major pain point for you, to help track it down, could you do a comparison between Firefox 24 and Firefox 25? You can download the Portable builds of old versions of Firefox and run them without disturbing your main installation of Firefox. (However, you might not be able to run more than one at a time.) Those two would be here:
    * [http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%2025.0.1/ Portable Firefox 25.0.1]
    * [http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%2024.0/ Portable Firefox 24.0]
    Does it work the way you want in either of those?

  • 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

  • Smart quotes won't work

    Hello there dear community,
    for some reason, Pages will not put quotation marks as I want them to be. As I am from Germany and therefore gernerally write in German, quotation marks are not “ ” but „ ” . I have not figured out how to get Pages to do that. I have already changed spelling language to German, enabled and disabled Smart Quotes, and set the System Preferences to the format I'd like the marks to be, but nothing happens.
    What am I doing wrong?
    Thank you.

    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.

Maybe you are looking for

  • Dual Monitor Support

    Not sure if this one can be anwsered yet, but curious to know if there is a way to hook up dual monitors on the new Mac Pro cylinders?  I don't mean just mirroring either. I have worked with dual monitors for a very longtime. One I use for my workspa

  • [JS CS3] Can't add a swatch to some documents

    Hello, I have the following script: var myDoc = app.activeDocument; colorIt(myDoc, "lime",cmykRatios =[40,0,80,0]); function colorIt(docRef,colorName,cmykRatios){     docRef.colors.add({colorValue:cmykRatios, colorModel:ColorModel.process, colorSpace

  • Pdf file in portal

    Hi Detlev, I have received a requirement wherein the pdf file needs to be stored within portal, and on click of a link on the left detailed tree navigation iview, the pdf file needs to open up. The user does not want to store document in KM. Please a

  • CRM 5.2 groupware integration error....

    Hi, I've set up Server side groupware integration of CRM 5.2 with MS outlook. The BPs are getting exchanged from CRM to Outlook and vice versa. Activities and Tasks are flowing from CRM to Outlook. But when Outlook tasks and activities are saved, the

  • How can I get Macs and PCs to share files on same network?

    I have a 2009 iMac running Mavericks and a Macbook Pro retina also on Mavericks.   I also have a desktop running Windows 7 Pro and a laptop on Windows 8.1.   I have a cable modem (Comcast) with multiple ethernet jacks and a WIFI modem.   The Macs see