Tom Lane wrote:
> Alvaro Herrera <[EMAIL PROTECTED]> 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.

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to