Curly quotations can become quite a problem if you are typing code into an text editor or an app like Evernote. Luckily they can easily be disabled by following these steps.
Click the Apple icon at the top left of your screen and choose System Preferences...
Choose Keyboard from the System Preferences menu.
Click to select the Text tab from the Keyboard window.
Uncheck Use smart quotes and dashes.