Re: BUG #4198: The bugreport form has an encoding problem - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #4198: The bugreport form has an encoding problem
Date
Msg-id 20080605210523.GQ16502@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #4198: The bugreport form has an encoding problem  ("Dave Page" <dpage@pgadmin.org>)
Responses Re: BUG #4198: The bugreport form has an encoding problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Dave Page wrote:
> On Mon, May 26, 2008 at 10:01 AM, Daniel Migowski <dmigowski@ikoffice.de> wrote:

> > Entered Umlauts aren't correctly received by your script responsible for the
> > form at:
> >
> >  http://www.postgresql.org/support/submitbug
> >
> > This might be a problem for entering encoding related problems, which i
> > tried to do a few minutes ago.
> >
> > The Input I pasted had in fact nice umlauts displayed, but the response
> > email from you showed them as 2-char-ASCII representation of the UTF-8 char.
>
> Looks OK for me, but maybe Gmail is fixing it up.

It does have a problem, because the email sent does not contain a
charset header.  It does look OK for me too -- as long as I use a UTF8
terminal.  The fix is easy, just add this line to the message headers:

Content-Type: text/plain; charset=utf-8

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #4212: Documentation re upgrading
Next
From: Tom Lane
Date:
Subject: Re: BUG #4198: The bugreport form has an encoding problem