how to get rid of curly quotes “

892 views
Skip to first unread message

Liu

unread,
Sep 27, 2010, 6:17:17 PM9/27/10
to BBEdit Talk
Hi,

I'm using BBEdit 9.5.1 to write some C code. But every time I type
quote, it shows curly quotes (“ ”), instead of straight ones ("). And
during compilation, these quotes are not recognized by compiler. Now
every time I have to manually convert them by "Straighten Quotes"
under "Text" Option, which is very annoying. I've tried to disable
"Use typographer's quotes" under "Editor defaults", but it does not
work. Can anyone tell me how to make quotes straight by default?
Thanks very much.

Semper Fidelis

unread,
Sep 27, 2010, 10:57:52 PM9/27/10
to bbe...@googlegroups.com
Unchecking "Use typographer's quotes" works for me and makes all my *new* files start with straight quotes. That establishes straight quotes as the default condition for any new files I make.

But perhaps you inherited some files that already have curly quotes in them. If you open those files, then the simple fix to get everything back to plain text is to use "Text" -> "Convert to ASCII" from BBEdit's main menu. That will make all the characters in your file conform to the lower decimal 128 ASCII values. The next time you open those files, you will get straight quotes for any new quoted text you type.

= = = = = = = = = = = = = = = = = = = =

<snip>..</snip>

<snip>..</snip>

Webmaster

unread,
Sep 27, 2010, 11:13:10 PM9/27/10
to bbe...@googlegroups.com
At 7:57 PM -0700 on 9/27/10, Semper Fidelis wrote:

>Unchecking "Use typographer's quotes" works for me and makes all my
>*new* files start with straight quotes. That establishes straight
>quotes as the default condition for any new files I make.
>
>But perhaps you inherited some files that already have curly quotes

>in them.. If you open those files, then the simple fix to get

>everything back to plain text is to use "Text" -> "Convert to ASCII"
>from BBEdit's main menu. That will make all the characters in your
>file conform to the lower decimal 128 ASCII values. The next time
>you open those files, you will get straight quotes for any new
>quoted text you type.

As an added point, if you have LOTS of files that have the curl quotes,
you can always make a text factory and batch fix them all at once, or
simply use Search --> Multi-File Search.

OleBBSer
--
............................................................................
Mailing List : WordWe...@gmail.com
EPN Website : http://www.endtimeprophecy.net
Messageboards : http://www.endtimeprophecy.net/EPNmessageboard/boards.html
EPN Chatroom : http://www.endtimeprophecy.net/EPNchat/EPNchat.html
Armageddon BBS : http://www.endtimeprophecy.net/ArmageddonBBS/
RSS Feed : http://202.128.64.54/Endtime-Prophecy-Net-RSS-Feed.xml
............................................................................

Liu

unread,
Sep 28, 2010, 10:43:29 AM9/28/10
to BBEdit Talk
Hi,

Unchecking "Use typographer's quotes" works for *new* files. But every
time I save them as .c, curly quotes show up again. Do you have this
kind of problem? How to address it?

Rich Siegel

unread,
Sep 28, 2010, 12:53:10 PM9/28/10
to bbe...@googlegroups.com
On Tuesday, September 28, 2010, Liu <whu...@gmail.com> wrote:

>Unchecking "Use typographer's quotes" works for *new* files. But every
>time I save them as .c, curly quotes show up again. Do you have this
>kind of problem? How to address it?

It sounds like you turned on that option for ANSI C (and
possibly other languages). Go to the Languages preferences,
double-click on the "ANSI C" item, and check the settings there.
(And you should probably do so in other languages.)

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they
sedate me.

Liu

unread,
Sep 28, 2010, 11:20:24 PM9/28/10
to BBEdit Talk
Thanks. It does the trick in *new* files, though in the existing curly
quotes still pop up.
Reply all
Reply to author
Forward
0 new messages