473,932 Members | 3,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Smart quotes back to straight quotes?

I've been working on an online books site for almost four years now,
and have been putting smart quotes in each book. This is a major
hassle, and I'm beginning to think it's not worth it.

Is there a good reason not to use them in the first place? It would
certainly be simple to convert back to straight quotes.

Ian
--
http://sundry.ws/
Mar 30 '06 #1
37 3896
In our last episode,
<eg************ *************** *****@4ax.com>,
the lovely and talented Ian Rastall
broadcast on comp.infosystem s.www.authoring.html:
I've been working on an online books site for almost four years now,
and have been putting smart quotes in each book. This is a major
hassle, and I'm beginning to think it's not worth it. Is there a good reason not to use them in the first place? It would
certainly be simple to convert back to straight quotes.
use <q>. Let the reader decide.
Ian

--
Lars Eighner us****@larseigh ner.com http://www.larseighner.com/
I have not seen as far as others because giants were standing on my shoulders.
Mar 30 '06 #2
On Thu, 30 Mar 2006 00:04:12 -0600, Lars Eighner
<us****@larseig hner.com> wrote:
use <q>. Let the reader decide.


This doesn't render in IE. Is there a way around that?

Ian
--
http://sundry.ws/
Mar 30 '06 #3
Deciding to do something for the good of humanity, Ian Rastall
<id*******@gmai l.com> declared in comp.infosystem s.www.authoring.html:
This doesn't render in IE. Is there a way around that?


Use a real browser? :-)

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html
Mar 30 '06 #4
On Thu, 30 Mar 2006 17:19:43 +1000, Mark Parnell
<we*******@clar kecomputers.com .au> wrote:
Deciding to do something for the good of humanity, Ian Rastall
<id*******@gma il.com> declared in comp.infosystem s.www.authoring.html:
This doesn't render in IE. Is there a way around that?


Use a real browser? :-)


Myself, or my users? Fifty percent of them use IE.

Ian
--
http://sundry.ws/
Mar 30 '06 #5
In article <eg************ *************** *****@4ax.com>,
Ian Rastall <id*******@gmai l.com> wrote:
I've been working on an online books site for almost four years now,
and have been putting smart quotes in each book. This is a major
hassle, and I'm beginning to think it's not worth it.

Is there a good reason not to use them in the first place? It would
certainly be simple to convert back to straight quotes.


In case he doesn't answer: <http://webtips.dan.inf o/char.html> might
discourage you. Kudo's on your online books.

leo

--
<http://web0.greatbasin .net/~leo/>
Mar 30 '06 #6
On Wed, 29 Mar 2006 22:26:59 -0800, Leonard Blaisdell
<le*@greatbasin .com> wrote:
In case he doesn't answer: <http://webtips.dan.inf o/char.html> might
discourage you. Kudo's on your online books.


Thanks, Leo. I really appreciate that. I've been using Unicode for the
smart quotes, so hopefully they're rendering correctly. I think
perhaps I'm guilty of thinking out loud on Usenet. :-) The problem is
whether or not it's worth it to do a search and replace on every file,
especially as this will introduce errors. I try to be as professional
as possible with the books, and curly quotes are standard in print.

IOW, it's just a dilemma. :-)

Ian
--
http://sundry.ws/
Mar 30 '06 #7
Ian Rastall wrote:
I've been working on an online books site for almost four years now,
and have been putting smart quotes in each book. This is a major
hassle, and I'm beginning to think it's not worth it.


Keep the curly quotes -- curly quotes are great -- but abandon HTML for
most content.

Use Textile instead:
http://www.textism.com/tools/textile/
http://jimandlissa.com/project/textilephp

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Mar 30 '06 #8
Ian Rastall wrote:
I've been working on an online books site for almost four years now,
and have been putting smart quotes in each book. This is a major
hassle, and I'm beginning to think it's not worth it.

Is there a good reason not to use them in the first place? It would
certainly be simple to convert back to straight quotes.


There aren't any problems with using them, provided that they are
encoded correctly in the specified encoding. If you're using UTF-8,
there is no problem at all. All modern browsers support UTF-8 and all
modern systems would have fonts with the appropriate glyphs available.
If, however, you're declaring ISO-8859-1, for example, but really saving
as Windows-1252, then there is a problem (unless you're using character
references instead of typing the real character to include them).

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Mar 30 '06 #9
Tim
Ian Rastall:
I've been working on an online books site for almost four years now, and
have been putting smart quotes in each book. This is a major hassle, and
I'm beginning to think it's not worth it.

Toby Inkster Keep the curly quotes -- curly quotes are great -- but abandon HTML for
most content.

Use Textile instead:
http://www.textism.com/tools/textile/
http://jimandlissa.com/project/textilephp


Huh? Using psuedo-code is somehow better? They just seem to offer a way
of automatically converting plain text into HTML (a useful tool), and
something else which converts in quasi-HTML/text (dubious value). Sure,
I'd support the idea of using a decent authoring or conversion tool,
rather than hand typing HTML, but I wouldn't recommend "abandoning HTML".

Some time ago I tidied up some crappy HTML versions of some novels. It
involved little more than a few iterations of search and replace to
correct the punctuation (e.g. something like a space then a quote being
converted to opening quotes, etc.). Only a few rules were needed to do it
well, and that was with a plain text editor. There are some word
processors that would do that for you.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please destroy some files yourself.

Mar 30 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
12389
by: Martin Goldman | last post by:
Hello all, I've been struggling for a few days with the question of how to convert "smart" (curly) quotes into straight quotes. I tried playing with the htmlentities() function, but all that is doing is changing the smart quotes into nonsense characters. I also searched the web for quite a while and was unsuccessful in finding a solution. What puzzles me is that doing it the other way around is simple enough. For example, this works...
11
7058
by: Ron | last post by:
Hello, I'm having an aggravating time getting the "html" spewed by Word 2003 to display correctly in a webpage. The situation here is that the people creating the documents only know Word, and aren't very computer savvy. I created a system where they can save their Word documents as "html" and upload them to a certain directory, and the web page dynamically runs them through tidylib using the tidy extension to php4, thus causing the...
16
5905
by: Charles Law | last post by:
I have a string similar to the following: " MyString 40 "Hello world" all " It contains white space that may be spaces or tabs, or a combination, and I want to produce an array with the following elements arr(0) = "MyString" arr(1) = 40 arr(2) = "Hello world"
3
6946
by: Sean S - Perth, WA | last post by:
Hi all, I'm wondering if there is a way to find (to strip or process) smart quotes in text submitted via a form? These don't work: strOutput = Replace(strOutput, "“", "“") ' left smart quote char as replace value strOutput = Replace(strOutput, Chr(147), "“") ' my best guess at where the
2
8040
by: Adrian Smith | last post by:
Can anyone tell me how to get rid of smart quotes in html using Python? I've tried variations on stuff = string.replace(stuff, "\“", "\""), but to no avail, presumably because they're not standard ASCII.
0
9954
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11499
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
11259
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9843
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8199
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7365
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6267
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4432
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3486
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.