Hello. 
 
I'm a tomcat beginner but have experience of the apache http server. 
 
I have a character issue I can't figure out. Here are a simple example of a 
html-page. 
 
- 8< -----
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; >
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="sv" lang="sv">
        <head>
            <title>min titel</title>
            <meta name="Title" content="min sida" />            
            <meta http-equiv="Content-type" content="text/html; 
charset=ISO-8859-1" />
            <meta http-equiv="Content-Script-Type" content="text/javascript" />
            <meta http-equiv="Content-Style-Type" content="text/css" />
            <meta http-equiv="content-language" content="sv" />
            <meta name="robots" content="Index, follow" />
            <meta name="Description" content="[EMAIL PROTECTED]" />
            <meta name="Keywords" content="mina keywords" />
            <link rel="schema.DC" href="http://purl.org/DC/elements/1.0/"; />
            <meta name="DC.Format" scheme="IMT" content="text/html" />
            <meta name="DC.Type" content="text" />
            <meta name="DC.Title" content="titel" />
            <meta name="DC.Description" content="[EMAIL PROTECTED]" />
            <meta name="DC.Subject" content="" />
            <meta name="DC.Creator" content="Jag" />
            <meta name="Date" scheme="W3CDTF" content="2006-12-15" />
            <meta name="DC.Date" scheme="W3CDTF" content="2006-12-15" />
            <meta name="DC.Date.Modified" scheme="W3CDTF" content="2006-12-15" 
/>
            <meta name="DC.Date.Created" scheme="W3CDTF" content="2006-11-27" />
            <meta name="DC.Language" scheme="RFC1766" content="sv" />
            <meta name="DC.Identifier" scheme="URL" content="www.minurl.se" />
            <meta name="DC.Publisher" content="min content" />
            <meta name="DC.Rights" content="comyright till mig" />
            <meta name="DC.Organisation" content="organisation" />
        </head>
    <body>
  test
    </body>
</html>
------------
 
Now, When I view the page with explorer/firefox/opera it still think the 
characterset should be UTF-8. I have looked in the config files of tomcat but 
can't find any parameters that corresponds to the "defaultcharacterset" that 
I'm used to from apache http server httpd.conf file. Is there such a parameter 
in tomcat? If not, why does the webbrowser think the page is in UTF8 when 
running the page on tomcat but ISO 8859-1 when running it on a apache http 
server?
 
 
  

Fredrik Sköldheimer
IT-konsult

Telefon:
Växel:
Direkt:
E-post:

+46 36 32 65 64
+46 36 32 40 00
265 64
[EMAIL PROTECTED]

IT-centrum
Box 1024
551 11 Jönköping

 
 
 
 
 
 
 
 
 
 
 
 

Reply via email to