Home » Questions » Computers [ Ask a new question ]

How do straight quotes become curved quotes when copying from a web page to a text editor?

How do straight quotes become curved quotes when copying from a web page to a text editor?

I copied some code from a web page and into my text editor.

Asked by: Guest | Views: 465
Total answers/comments: 2
bert [Entry]

"Some editors don't handle ""smart quotes"" well or forcibly convert them to ""dumb quotes"".

EDIT: I read your examples backwards - the opposite happened: you got so-called ""smart"" quotes from plain ones. In some editors, that's a configurable setting. And understand that word processors are very different from ordinary text editors. Using Word as a text editor can do strange and damaging things to code or markup languages."
bert [Entry]

Most likely the software is trying to be helpful. If, when you type a quote, it becomes a “ character, wouldn't you want it to do the same conversion when pasting in text?