Author |
|
Genok
Joined: 09 Jan 2006 Posts: 21 Location: Russia
|
Posted: Sat 04 Feb '06 8:38 Post subject: Charset |
|
|
Newbie question =)))
How can I change default charset? What conf should I edit? Sorry for this stupid question =)) |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
Genok
Joined: 09 Jan 2006 Posts: 21 Location: Russia
|
Posted: Fri 10 Feb '06 12:05 Post subject: |
|
|
Ok. I've added line AddDefaultCharset WINDOWS-1251 to httpd.conf but the same result - the charset is still iso8859. Whats wrong |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 10 Feb '06 12:38 Post subject: |
|
|
Did you set a <meta.... tag with a different charset? Did you set a <meta... tag ? If not some browsers set a charset by default which is mostly wrong
<meta http-equiv="content-type" content="text/html; charset=WINDOWS-1251"> |
|
Back to top |
|
Genok
Joined: 09 Jan 2006 Posts: 21 Location: Russia
|
Posted: Fri 10 Feb '06 13:33 Post subject: |
|
|
James Blond wrote: | Did you set a <meta.... tag with a different charset?
<meta http-equiv="content-type" content="text/html; charset=WINDOWS-1251"> |
I should put this line in every page of my site? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 10 Feb '06 14:25 Post subject: |
|
|
If it works with it the answer is yes!
i.e.
Code: |
<html><head><title>my Title for this page</title>
<meta http-equiv="content-type" content="text/html; charset=WINDOWS-1251">
</head>
<body>
...
</body></html>
|
Does the browser show the pages correcly with the meta set charset? |
|
Back to top |
|