There is no declaration of charset in the main webpage. Something like

<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">

would be nice. What is worse is that there are several charsets used. In
the International part I have to set mozilla to use utf-8 for it to be
rendered correctly and in the Event part I have to tell mozilla to use
iso-8859-1. There is not one setting that can show the whole page.

There really should be only one charset on the page, and it should be
specified so that the browser can show it right and not have to guess.

-- 
/Dennis


Sat, 8 Mar 2003 07:12:06 +0100 (CET)
=?ISO-8859-1?Q?Dennis_Bj=F6rklund?= <db@zigo.dhs.org>
website charset
It's rumoured that Dennis Bjï¿½rklund once said:
> There is no declaration of charset in the main webpage. Something like
>
> <meta content="text/html; charset=iso-8859-1"
> http-equiv="Content-Type">
>
> would be nice. What is worse is that there are several charsets used.
> In the International part I have to set mozilla to use utf-8 for it to
> be rendered correctly and in the Event part I have to tell mozilla to
> use iso-8859-1. There is not one setting that can show the whole page.
>
> There really should be only one charset on the page, and it should be
> specified so that the browser can show it right and not have to guess.

There was. Justin, did you say you tweaked the charset the other day? I
don't have my email archives to hand...
Regards, Dave.



Sat, 8 Mar 2003 11:42:22 -0000 (GMT)
"Dave Page" <dpage@vale-housing.co.uk>
Re: website charset
Hi Dennis,

Looking at the source for the main webpage through Mozilla, I'm getting 
this:

***********

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!-- header -->
<html>
<head>
<title>PostgreSQL</title>
<meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Author" content="Dave Page">
<meta name="keyword" content="PostgreSQL, database, dbms, postgres, 
postgres95, pgsql, relational, SQL, ODBC, JDBC">
<link rel="stylesheet" href="postgresql.css" type="text/css">
</head>

<body>

<a name="TOP"></a>
<p>&nbsp;</p>

<center>

***********

That clearly has a line that says:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Any idea why that's not working for you?  On the PC here with Mozilla 
1.3b on Win2K it's working fine.  It's also working ok for IE 5.5 SP2.

No problems with tweaking this to work, it just a matter of figuring out 
what's best.

:-)

Regards and best wishes,

Justin Clift


Dave Page wrote:
> It's rumoured that Dennis Bjï¿½rklund once said:
> 
>>There is no declaration of charset in the main webpage. Something like
>>
>><meta content="text/html; charset=iso-8859-1"
>>http-equiv="Content-Type">
>>
>>would be nice. What is worse is that there are several charsets used.
>>In the International part I have to set mozilla to use utf-8 for it to
>>be rendered correctly and in the Event part I have to tell mozilla to
>>use iso-8859-1. There is not one setting that can show the whole page.
>>
>>There really should be only one charset on the page, and it should be
>>specified so that the browser can show it right and not have to guess.
> 
> 
> There was. Justin, did you say you tweaked the charset the other day? I
> don't have my email archives to hand...
> Regards, Dave.
> 
> 


-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


Sun, 09 Mar 2003 14:54:30 +1030
Justin Clift <justin@postgresql.org>
Re: website charset
On Sun, 9 Mar 2003, Justin Clift wrote:

> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Ops, how could I miss it.

> Any idea why that's not working for you?  On the PC here with Mozilla 
> 1.3b on Win2K it's working fine.  It's also working ok for IE 5.5 SP2.

I use 1.3b in linux.

The problem is still that there are characters I can't see unless I switch 
to latin1.

In the sentence (from the Event column on the page)

Devrim Gï¿½ndï¿½z will present another PostgreSQL seminar in Erciyes
University, Kayseri, Turkey.

I can not see the name correct unless I change to latin1. It can still be
a problem with the browser, but I just assumed that it used latin1 and the
rest was utf-8.

-- 
/Dennis


Sun, 9 Mar 2003 07:52:24 +0100 (CET)
=?ISO-8859-1?Q?Dennis_Bj=F6rklund?= <db@zigo.dhs.org>
Re: website charset
Dennis Bjï¿½rklund wrote:
> On Sun, 9 Mar 2003, Justin Clift wrote:
<snip>
> The problem is still that there are characters I can't see unless I switch 
> to latin1.
> 
> In the sentence (from the Event column on the page)
> 
> Devrim Gï¿½ndï¿½z will present another PostgreSQL seminar in Erciyes
> University, Kayseri, Turkey.
> 
> I can not see the name correct unless I change to latin1. It can still be
> a problem with the browser, but I just assumed that it used latin1 and the
> rest was utf-8.

Arrrgh.  That was converted to proper &html; style characters when the 
pages were changed to utf8.

Looks like the database restoration also restored the old version of the 
pages.

Will fix now.

:)

Regards and best wishes,

Justin Clift

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


Sun, 09 Mar 2003 17:54:51 +1030
Justin Clift <justin@postgresql.org>
Re: website charset
Justin Clift wrote:
> Dennis Bjï¿½rklund wrote:
> 
>> On Sun, 9 Mar 2003, Justin Clift wrote:
> 
> <snip>
> 
>> The problem is still that there are characters I can't see unless I 
>> switch to latin1.
>>
>> In the sentence (from the Event column on the page)
>>
>> Devrim Gï¿½ndï¿½z will present another PostgreSQL seminar in Erciyes
>> University, Kayseri, Turkey.
>>
>> I can not see the name correct unless I change to latin1. It can still be
>> a problem with the browser, but I just assumed that it used latin1 and 
>> the rest was utf-8.

Ok, this should be fixed now.  Thanks for pointing it out, and sorry for 
the hassle.

:)

Regards and best wishes,

Justin Clift

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi


Sun, 09 Mar 2003 18:43:07 +1030
Justin Clift <justin@postgresql.org>
Re: website charset
It's rumoured that Dennis Bjï¿½rklund once said:
> In the sentence (from the Event column on the page)
>
> Devrim Gï¿½ndï¿½z will present another PostgreSQL seminar in Erciyes
> University, Kayseri, Turkey.
>
> I can not see the name correct unless I change to latin1. It can still
> be a problem with the browser, but I just assumed that it used latin1
> and the rest was utf-8.

Yes, I'm seeing problems with Devrim's name as well on IE6/XP Pro. :-(

Charsets/locales etc are not exactly an area I work in a lot so I'll have
to leave this one to you Justin... (if you don't mind of course :-) ).
Regards, Dave.



Sun, 9 Mar 2003 10:19:58 -0000 (GMT)
"Dave Page" <dpage@vale-housing.co.uk>
Re: website charset