\"Writing.Com
*Magnify*
SPONSORED LINKS
Printed from https://shop.writing.com/main/newsletters/action/archives/id/7245-Smart-Quotes-and-Dumb-Coding.html
For Authors: September 30, 2015 Issue [#7245]

Newsletter Header
For Authors


 This week: Smart Quotes and Dumb Coding
  Edited by: Jeff Author IconMail Icon
                             More Newsletters By This Editor  Open in new Window.

Table of Contents

1. About this Newsletter
2. A Word from our Sponsor
3. Letter from the Editor
4. Editor's Picks
5. A Word from Writing.Com
6. Ask & Answer
7. Removal instructions

About This Newsletter

A header image for my official For Authors newsletters.


"The two most engaging powers of an author are to make
new things familiar, and to make familiar things new."

-- Samuel Johnson



Trivia of the Week: Fans of The Girl with the Dragon Tattoo and the rest of Stieg Larsson's Millennium series have a new title to enjoy if they haven't already. On August 27th of this year (September 1st for those of us in the U.S.), Swedish publisher Norstedts Forlag released a fourth book in the franchise. The Girl in the Spider's Web, written by Swedish journalist and author David Lagercrantz, was commissioned by the publisher independently of the unfinished manuscript and various other materials in the possession of Larsson's long-time partner Eva Gabrielsson. Since Gabrielsson and Larsson were never married, the rights to his work were inherited by his family; they were the ones who made the deal with the publisher for a fourth installment of the series. In order to make sure the development of the novel was kept confidential, Lagercrantz wrote the book on a computer with no internet connection, and personally delivered hard copy drafts to the publisher.


Word from our sponsor



Letter from the editor


SMART QUOTES AND DUMB CODING


If you're like me and tend to write things in other word processing programs before uploading them to a website, you may have noticed that you sometimes get wonky formatting even when you're sure you used the correct WritingML or HTML coding. For example, you might use {popnote:"Jeff"}{user:socalscribe}{/popnote} and expect to see: Jeff in a forum post here on WdC, but instead you actually get this:

         {popnote:”Jeff”}Jeff Author IconMail Icon

Or, on other websites, you might see something along the lines of this: Jeff a.k.a. &lsquo:SoCalScribe&rsquo: rather than the Jeff a.k.a. 'SoCalScribe' that you just know which you're sure was what you typed.

I figured out a while ago that the problem is in the quotation marks. If you look above at the first glitchy version of the popnote WritingML, a keen eye might notice that the quotation marks around "Jeff" are slanted or curved, while every other instance in this article has "straight" quotation marks. I didn't really think anything of it for a long time; I just copied and pasted my work into the dialog box on my web-browser and - after proofreading - would go through and fix the wonky quotation marks by simply deleting them and typing them again. But the more I thought about it, the more I wanted to know why this is a problem.

Slanted or curved quotes are called "smart quotes," whereas quotes that are straight are known as "dumb quotes." Smart quotes, according to every source I can find, are the proper kind of quotes to use for any kind of professional writing or publishing. Dumb quotes are a vestige of typewriters, back when the number of characters you could use were limited to the number of type hammers or facets of a daisywheel you could fit into the actual physical device, so they just used one typographical one typographical symbol for all purposes ... kind of like how older typewriters like the 1929 Underwood No. 5 don't have a "1" key in the numbers row because people could use the lower-case "L" to make the same character.

Since the advent of computers, though, where you can squirrel away thousands upon thousands of special characters somewhere in the deep recesses of the operating system, programmers could afford to build in extra characters, allowing us the ability to use typefaces that include single opening (‘), double opening (“), single closing (’), and double closing (”) characters rather than just single (') and double (") "dumb quotes." And let's be honest; don't smart quotes just look better in a printed document?

Here's an example of smart quotes:

“I can’t believe you traded the cow for a bunch of ‘magic’ beans.”


And here's an example of dumb quotes:

"I can't believe you traded the cow for a bunch of 'magic' beans."


Getting back to why quotation marks are problematic for websites and web browsers, there is one area where dumb quotes are still frequently used: coding. *Frown* As a result, websites sometimes have a hard time recognizing the smart quotes in your document as the dumb quotes they recognize and need in order to execute their programming. (For more information on smart quotes versus dumb quotes, you can check out: http://smartquotesforsmartpeople.com/)

So how does one fix this problem?

*Bullet* You can draft your writing in dialog boxes in your browser. A lot of websites (including WdC) have options where you can preview your work, save drafts, and/or make items private until you're ready to show it to the world.

*Bullet* You can manually go through your document and change all of your quotation marks. If you only have a little bit of formatting, it's a relatively minor change to make and it's generally a good idea to proofread your work anyway. So when you copy and paste something from another program, just take a look at the finished product and fix any places where the coding gets wonky. Since you know what to look for, it shouldn't be too hard or take too long to fix the errors.

*Bullet* For Writing.Com in particular, the new functionality that allows you to drag-and-drop Word documents onto the Create New Item screen will take care of all the formatting for you. Just drag the item, drop it, and tell it to convert the formatting to WritingML. It'll convert everything for you automatically. The only downside is that this feature doesn't work everywhere; for example, you can't drag and drop into a forum post.

*Bullet* You can turn off smart quotes in your word processor. In Microsoft Word, there's a check box in the AutoCorrect settings that allow you to turn them on and off. In Google Docs, that same check box is in the Preferences settings under the Tools menu. In Pages, look under Substitutions area of the Edit menu. This will get rid of smart quotes altogether, which makes the dumb quotes you use directly transferrable to any web browser or site you're using. The downside to this solution is that it's a global change that affects all documents ... so you'll have to turn smart quotes back on when you want to use them in other documents.


Or you can try to get a little fancy:

*Bullet* If you have multiple word processing programs, you can use one specifically for web-based writing and documents where you need to weave coding and words together, and another program where you can keep the smart quote default for your other writing. For example, maybe you use Pages for your regular writing and Google Docs for your writing that needs "dumb quotes." Or you can use Microsoft Word for your "smart quotes" writing and TextEdit (Mac) or Notepad/Wordpad (PC) for your coding-catered work. By simply having two different word processing programs, you can customize each one for the task you need. And if you're looking for another word processor, you can even download Open Office, a completely free alternative to Microsoft Office, here: http://www.openoffice.org.

*Bullet* You can switch your smart quotes feature on and off, then do a find and replace for all the quotation marks. The programs won't usually go through and change the quotation marks you've already made; they'll just change them from that point going forward. So, in Google Docs for example, you can write your document with smart quotes, then go turn smart quotes off. Do a find for all single quotes (') and replace with another single quote ('), then do another find for all double quotes (") and replace with another double quote ("). That'll turn all of your smart quotes to dumb quotes ... then you just turn smart quotes back on.


Who knows, maybe The StoryMaster Author Icon will come up with some techno-wizardry to solve this problem on WdC. I don't have nearly enough technical expertise to know how that works, if that would even work, or what would be involved in making that work. In the meantime, though, there are options for you when you run into this problem. And, at the very least, understanding what causes the problem can help you know what to be on the lookout for when it does occur.

Until next time,

Jeff Author IconMail Icon
Logo for Senior Moderators - small

If you're interested in checking out my work:
"Blogocentric FormulationsOpen in new Window.
"New & Noteworthy ThingsOpen in new Window.
Community Activities




Editor's Picks


I encourage you to check out the following items:


 Job hunting explained  Open in new Window. [E]
This short guide is to help the unemployed find meaningful employment.
by Dazza Author Icon

EXCERPT: When looking for employment you have to keep a positive attitude. It has been proven that self fulfilling prophecies exist, in other words if you have it in your head that you are unemployable the chances are you wont find a job. However with a positive attitude where you embrace challenge finding a job becomes easier.



 Invalid Item Open in new Window. []

by A Guest Visitor

EXCERPT: I could have written a thousand letters that no one would have bothered reading.. I could have spoken a thousand words that everyone would refuse to hear and thought a million silent thoughts that were master pieces in my own mind, that not even God would think of. The Mirror was a place of solitude, I knew this now better then ever as i stared at my reflection, fighting back the sorrows and gut wrenching loneliness of being the vile creation which was me... The only one of my kind.... Someone who dared to question everything they had been taught... had spoken against churches, and had tackled an armed man for the sake of saving someone the trouble of holding the pain which I had once felt.... When my friend had been stolen from me...



 Book Rage Open in new Window. [E]
A rant against literary literature
by Yarrow Author Icon

EXCERPT: Today I am angry. Really very angry indeed. I read a book last night, you see, one that I had been looking forward to reading for several months. It's a ghost story, which is my favourite kind of story, and I had high hopes for it. I won't name it here, as I wouldn't want to prejudice anyone else against it, but suffice to say it has let me down. My expectations have been rather badly confounded.



 Invalid Item Open in new Window. []

by A Guest Visitor

EXCERPT: My family has a few crazy stories in its history, but this one about what my cousin did is probably my favorite one. It is my cousin personified!



 Invalid Item Open in new Window. []

by A Guest Visitor

EXCERPT: Living off the land has a romantic ring to it. Yet the success of the endeavor depends on knowledge of the season’s cycle and the generosity of the weather. For the first, a good teacher is essential. This summer I found one.



 
Submit an item for consideration in this newsletter!
https://www.Writing.Com/go/nl_form

Word from Writing.Com

Have an opinion on what you've read here today? Then send the Editor feedback! Find an item that you think would be perfect for showcasing here? Submit it for consideration in the newsletter!
         https://www.Writing.Com/go/nl_form

Don't forget to support our sponsor!

ASIN: 1542722411
Amazon's Price: $ 12.99


Ask & Answer



Feedback from my last newsletter about periods of intense writing:


         No feedback! *Frown*



*Bullet* *Bullet* *Bullet* Don't Be Shy! Write Into This Newsletter! *Bullet* *Bullet* *Bullet*

This form allows you to submit an item on Writing.Com and feedback, comments or questions to the Writing.Com Newsletter Editors. In some cases, due to the volume of submissions we receive, please understand that all feedback and submissions may not be responded to or listed in a newsletter. Thank you, in advance, for any feedback you can provide!
Writing.Com Item ID To Highlight (Optional):

Send a comment or question to the editor!
Limited to 2,500 characters.
Word from our sponsor

Removal Instructions

To stop receiving this newsletter, click here for your newsletter subscription list. Simply uncheck the box next to any newsletter(s) you wish to cancel and then click to "Submit Changes". You can edit your subscriptions at any time.


Printed from https://shop.writing.com/main/newsletters/action/archives/id/7245-Smart-Quotes-and-Dumb-Coding.html