Skip site navigation (1) Skip section navigation (2)

Re: BUG #4198: The bugreport form has an encoding problem

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, Daniel Migowski <dmigowski(at)ikoffice(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4198: The bugreport form has an encoding problem
Date: 2008-06-05 23:13:34
Message-ID: 20080605231334.GU16502@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > 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
> 
> What happens if someone pastes text into the form that is *not* in UTF-8?

AFAIK the browser sends the encoding along the request and a conversion
takes place somewhere.  (If I'm mistaken, then the thing to do is
grab the encoding from the POST request.)

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

In response to

pgsql-bugs by date

Next:From: Gregory StarkDate: 2008-06-05 23:50:18
Subject: Re: BUG #4198: The bugreport form has an encoding problem
Previous:From: Tom LaneDate: 2008-06-05 23:04:01
Subject: Re: BUG #4198: The bugreport form has an encoding problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group