473,804 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Netscape Composer: How to set charset for a page?

When I create a new page using Netscape Composer, it always includes
a meta tag

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

in the header. I would like to have it charset=us-ascii instead. How can I
do this? An alternative would be to tell Netscape to leave out the charset
attribute altogether, because this would then mean "us-ascii" by default,
but I don't know how to do it either.

Of course I can edit the HTML file using a text editor, but I wonder wheather
there is a way to do it within Netscape Composer.

I know the View/Character coding menu, but there is no "us-ascii" to choose
from, only iso-8859-1.

I also know the View/Character Coding/Customize submenu, but here too there
is no us-ascii.

Ronald
Jul 23 '05 #1
13 3819
On 4 Nov 2004 05:11:49 -0800, Ronald Fischer <ro*****@eml.cc > wrote:
When I create a new page using Netscape Composer, it always includes
a meta tag
This is a very tool-specific question. Are you talking about the ancient
Netscape 4 Composer BTW? It might be useful to try to find a group
dedicated to the tool you use.
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">

in the header. I would like to have it charset=us-ascii instead.


As US-ASCII is a subset of ISO-8859-1, changing this should make no
difference whatsoever to the display of webpages.

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen

Jul 23 '05 #2
in comp.infosystem s.www.authoring.html, Ronald Fischer wrote:
When I create a new page using Netscape Composer, it always includes
a meta tag

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

in the header. I would like to have it charset=us-ascii instead. How can I
do this?
Why would you want to do that?
An alternative would be to tell Netscape to leave out the charset
attribute altogether, because this would then mean "us-ascii" by default,
but I don't know how to do it either.
IIRC, default is ISO-8859-1, not us-ascii, in HTTP.
I know the View/Character coding menu, but there is no "us-ascii" to choose
from, only iso-8859-1.


US-ASCII is subset of iso-8859-1. So nothing will be missing, even if one
uses iso-8859-1

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Jul 23 '05 #3
"Ronald Fischer" <ro*****@eml.cc > a écrit dans le message de
news:21******** *************** **@posting.goog le.com
When I create a new page using Netscape Composer

(...)

If you refer to the old Netscape Communicator composer, or the one that is
packaged with Netscape 6 or 7, then i hardly recommend that you switch to
NVU :
http://www.nvu.com/
It's the up to date Mozilla Composer, including cascades for CSS and many
more features.
Free, but not already in the 1.0 state (but always better than the old
composer)

Jul 23 '05 #4
On Thu, 4 Nov 2004, Lauri Raittila wrote:
in comp.infosystem s.www.authoring.html, Ronald Fischer wrote:
in the header. I would like to have it charset=us-ascii instead.
How can I do this?


Why would you want to do that?


It's an oddball request, indeed, even if it's technically correct.
An alternative would be to tell Netscape to leave out the charset
attribute altogether, because this would then mean "us-ascii" by default,


IIRC, default is ISO-8859-1, not us-ascii, in HTTP.


It's not that simple!

There's a generic RFC that claims that the default for all text/*
MIME types is us-ascii - I forget the number, it shouldn't be hard to
find...

There's an HTTP specification (RFC2616) that claims that the default
for an HTTP transaction is iso-8859-1

And there's an HTML/4.01 specification that claims that there is -no-
default for HTML.

As you can see, these claims are not entirely compatible with each
other :-{
from, only iso-8859-1.


US-ASCII is subset of iso-8859-1. So nothing will be missing, even
if one uses iso-8859-1


Yes, but there may then be coded characters present that aren't legal
in ASCII; presumably (but it would have been better if the questioner
had been explicit about such details) that is what the questioner was
trying to avoid.

Jul 23 '05 #5
ro*****@eml.cc (Ronald Fischer) wrote:
When I create a new page using Netscape Composer, it always includes
a meta tag

<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">

in the header.
Only by default. You can edit in the HTML mode (click on <HTML Source> to
switch to that mode). In a sufficiently new Composer, you can also change
the encoding by saving the document via "Save As Charset" in the "File"
menu.

Moreover, you might be able - depending on what you can do on the server
- to make the server send an actual Content-Type header, overriding the
<meta> hack. This is unwise though, since someone might save the document
locally, using a browser that won't fix the situation. (I'm afraid
browsers are kinda stupid in such issues.)
I would like to have it charset=us-ascii instead.
As others have pointed out, this is most probably a misunderstandin g.
I know the View/Character coding menu,


It's about viewing documents, not about authoring.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 23 '05 #6
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> a écrit dans le message de
news:Pi******** *************** *******@ppepc56 .ph.gla.ac.uk
There's a generic RFC that claims that the default for all text/*
MIME types is us-ascii - I forget the number, it shouldn't be hard to
find...

There's an HTTP specification (RFC2616) that claims that the default
for an HTTP transaction is iso-8859-1

And there's an HTML/4.01 specification that claims that there is -no-
default for HTML.


Everything is summurize in that document :
http://www.w3.org/TR/xhtml-media-types/#text-html

Jul 23 '05 #7
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote in message news:<Pi******* *************** ********@ppepc5 6.ph.gla.ac.uk> ...
On Thu, 4 Nov 2004, Lauri Raittila wrote:
in comp.infosystem s.www.authoring.html, Ronald Fischer wrote:
in the header. I would like to have it charset=us-ascii instead.
How can I do this?


Why would you want to do that?


It's an oddball request, indeed, even if it's technically correct.
US-ASCII is subset of iso-8859-1. So nothing will be missing, even
if one uses iso-8859-1


Yes, but there may then be coded characters present that aren't legal
in ASCII; presumably (but it would have been better if the questioner
had been explicit about such details) that is what the questioner was
trying to avoid.


Correct: I'm using a German keyboard and would like to avoid that,
by mistake, a German umlaut slips into the generated HTML page (instead
of the HTML equivalent, say, &auml;). Of course it would be very
convenient that the composer automatically converts an umlaut I'm
typing into the correct HTML equivalent, but this was not my
primary concern.

BTW, I'm using the composer which comes with Netscape 7.

And big thanks for all the helpful comments.

Ronald
Jul 23 '05 #8
Ronald Fischer wrote:

Correct: I'm using a German keyboard and would like to avoid that,
by mistake, a German umlaut slips into the generated HTML page
(instead
of the HTML equivalent, say, &auml;). Of course it would be very
convenient that the composer automatically converts an umlaut I'm
typing into the correct HTML equivalent, but this was not my
primary concern.


I think you are on the wrong steamer (do they say this in English, too?)...
;-)

The character set indicated in the head of a web page tells the browser how
to interpret non-ascii characters. So as the german umlauts are part of
iso-8859-1, but probably not of us-ascii, changing this setting might result
in the contrary of what you want: If by mistake an "ä" remains in the code,
it will be shown correctly with the iso-8859-1 setting, but incorrectly with
the us-ascii setting. I might get corrected if I am wrong here.

If your editor uses the character set meta tag to decide which characters it
encodes as HTML entities, I consider this as a bug of the editor. In this
case I suggest to use another product such as Dreamweaver which encodes all
non-ascii characters by default.

--
Markus
Jul 23 '05 #9
JRS: In article <21************ *************@p osting.google.c om>, dated
Wed, 10 Nov 2004 06:55:48, seen in news:comp.infos ystems.www.authoring.h
tml, Ronald Fischer <ro*****@eml.cc > posted :

Correct: I'm using a German keyboard and would like to avoid that,
by mistake, a German umlaut slips into the generated HTML page (instead
of the HTML equivalent, say, &auml;). Of course it would be very
convenient that the composer automatically converts an umlaut I'm
typing into the correct HTML equivalent, but this was not my
primary concern.


If you use a PC, then you can use my simple program EIGHTBIT - get it
via sig line 3 below - to scan a file for characters with the upper bit
set. And you can use my HUNT to make it check many files, date-
selectively :

HUNT *.htm f#-28 "EIGHTBIT" u e

to check all files dated less than 29 days ago.

Reporting is simple, on the basis that those that are found will be
changed.

Of course, a programmable editor like MiniTrue could be scripted to
convert all dubious characters, such as those with umlauts or cedillas,
to sequences such as &uuml;, with if desirable each change being
queried.

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demo n.co.uk/programs/00index.htm>.
Do not Mail News to me. Before a reply, quote with ">" or "> " (SoRFC1036)
Jul 23 '05 #10

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

Similar topics

2
1519
by: beverly | last post by:
I have a .net application that works great in IE, however, in Netscape 7.1 the background colors are not comparable to IE. Has anybody else experienced this? If so, have you found a solution that does not interfer with IE?
4
4764
by: Federico Bari | last post by:
Good morning all from italy, i have probably a compatibility problem with a html/javascript page. The aim of the code of the file test.htm you find here following (copy the 3 files in the same directory) is to change the content of a layer, created with the <div...> tag, with an external text (clicking over an hiperlink) or with the result of a <form...> submition. The solution (I haven't been able to find anyone else) is to use a...
2
2108
by: Mark Stafford | last post by:
I want to use a pop-up dialog for my intranet, but I'm missing something that keeps me from getting along with NS's browsers right now. I get an error to the effect of "opener.formName has no properties" The following JS is its own file included in caller.html and callee.html with this syntax <SCRIPT language="JavaScript" src="pops.js"></SCRIPT>
7
3692
by: Scott | last post by:
Hello All, I've been reading all of the various issues with Iframes in netscape. I have tried all of the various fixes posted, and have even implemented both an iframe and ilayer. My problem is that no matter which i use, i can access the src before and after i change it, but the page never displays. in IE6 it works no matter how i access it. here is the code that is changing it: function InternalNav(sPage) {
13
2251
by: Gaurav | last post by:
Hello, i have some java script with in html. It runs fine on IE 6.0 but doesnt run on netscape 7.1 Can someone tell me whats the problem ? And how can i solve it. here is the url http://godot.urol.uic.edu/output.html
2
3100
by: Dom | last post by:
Hi, I am trying to get a dynamic table going. You click a button to add a row. In the newly created row a button to delete the row is placed (try the code example below). In Netscape, pressing the delete row button crashes the browser. Why ? What is the correct way to do this ? I am stumped why this following code works in IE and Opera but crashes Netscape 7 (ie makes it disappear and try to send a bug report etc).
3
2093
by: Simba | last post by:
Hi, I've written some javascript routines for Internet Explorer and Opera. Could you tell me the Netscape and Mozilla equivalents? Thanks ------------------------- //this works with Opera, not with Netscape and Mozilla:
14
2020
by: James Ballard | last post by:
The file in question may be found at http://jimballard.home.att.net/oldindex.html I have checked the file against the W3C, WDG and several other validators and checkers. They show it to be valid HTML 4.01 code. The file is rendered correctly on my machine by Netscape 7.1 and MSIE 5.5 but Netscape 4.78 makes a hash out of it. It was generated with Netscape Composer 7.1
7
4731
by: Jonas Smithson | last post by:
Hello all, I have an absolute positioned parent div, and nested inside it is an absolute positioned child div -- I mean the div *code* is nested inside, but the child is physically positioned so that it's completely outside the parent div (to the left of its parent, in a left-side margin area). The child div contains hyperlinks. Explorer 6 (on Windows) has no problem with this. However, in Netscape 6, the links are unclickable. I...
0
9715
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
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
10600
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...
0
10352
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10354
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
9175
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...
0
5535
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.