473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

html TidyGUI

Hello all,

I'm trying to convert some files from html into xhtml with HTML Tidy, GUI
version. It does a great job, except that it uncurls all the quotation
marks, single and dubble. There seems to be no difference between the
various options for character sets (I use UTF-8). How can I keep my smart
quotes?

Thanks, Dirk
Jul 20 '05 #1
5 2369
Dirk Kruisheer wrote:
I'm trying to convert some files from html into xhtml with HTML Tidy, GUI
version. It does a great job, except that it uncurls all the quotation
marks, single and dubble. There seems to be no difference between the
various options for character sets (I use UTF-8). How can I keep my smart
quotes?


Are you using the correct (UTF-8, Unicode) values for those characters,
rather than bogus proprietary characters in the #128-#159 range?

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Jul 20 '05 #2
Until now I never used any coding as my editor (EmEditor) on Win XP can show
and save any character including Hebrew etc. I tried “ and “
etc. But also this is turned into strait quotes. What other values are
there?

Dirk

"Daniel R. Tobias" <da*@tobias.name> wrote in message
news:no********************@news2.news.adelphia.ne t...
Dirk Kruisheer wrote:
I'm trying to convert some files from html into xhtml with HTML Tidy, GUI version. It does a great job, except that it uncurls all the quotation
marks, single and dubble. There seems to be no difference between the
various options for character sets (I use UTF-8). How can I keep my smart quotes?


Are you using the correct (UTF-8, Unicode) values for those characters,
rather than bogus proprietary characters in the #128-#159 range?

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Jul 20 '05 #3

"Daniel R. Tobias" <da*@tobias.name> wrote in message
news:no********************@news2.news.adelphia.ne t...
Dirk Kruisheer wrote:
I'm trying to convert some files from html into xhtml with HTML Tidy, GUI version. It does a great job, except that it uncurls all the quotation
marks, single and dubble. There seems to be no difference between the
various options for character sets (I use UTF-8). How can I keep my smart quotes?


Are you using the correct (UTF-8, Unicode) values for those characters,
rather than bogus proprietary characters in the #128-#159 range?


Until now I never used any coding as my editor (EmEditor) on Win XP can show
and save any character including Hebrew etc. I tried &ldquo; and “
etc. But also this is turned into strait quotes. What other values are
there?

Dirk
Jul 20 '05 #4
[reposted in comp.infosystems.www.authoring.tools]
Jul 20 '05 #5
"Dirk Kruisheer" <d.*********@xs4all.nl> wrote in message news:<3f***********************@dreader3.news.xs4a ll.nl>...
Until now I never used any coding as my editor (EmEditor) on Win XP can show
and save any character including Hebrew etc. I tried &ldquo; and “
etc. But also this is turned into strait quotes. What other values are
there?


The wrong ones. :-)

Seriously, there are lots of ways so-called "smart quotes" can get
mangled by various software; for a case in point, see this page:

http://www.nbc.com/American_Dreams/

At least as of right now, it's got some oddball characters where
quotes and apostrophes belong, apparently the result of incorrect
character set conversions.

Personally, I stick to standard-ASCII straight quotes in my own sites;
they may not be as pretty, but they're safe.

--
Dan
Jul 20 '05 #6

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

Similar topics

2
by: Gadrin77 | last post by:
is there a tool that'll take HTML and "parse it" and create a well-formed HTML document? the reason I ask is that I have scripts and XSL files that of course create well-formed HTML, but as...
4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
0
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to...
20
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than...
6
by: Ludwig77 | last post by:
When I was first taught html several years ago, I was taught that the following tags are standard for any html formatted message: <HTML> <HEAD> </HEAD> </BODY> </HTML> In fact, I was taught...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
6
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.