Re: Czech character broken?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: Czech character broken?
Date: 2007-02-18 18:12:51
Message-ID: 20070218181251.GA40098@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sun, Feb 18, 2007 at 06:30:14PM +0100, Magnus Hagander wrote:
> Michael Fuhr wrote:
> > I don't know for sure since I don't speak Czech, but I'd guess the
> > correct entity is &#353; <U+0161 LATIN SMALL LETTER S WITH CARON>.
> > The Windows-1250 mapping of that character is 154 (0x9a).
>
> Seems to be correct - at least my firefox on Windows still shows the
> same character after fixing that.

That character is 154 in Windows-1252 as well. I'd guess that some
browsers, upon finding a C1 control character (128-159 / 0x80-0x9f),
assume that it's really a graphical character from one of the Windows
encodings and convert it appropriately.

--
Michael Fuhr

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Bruce Momjian 2007-02-19 21:48:19 Re: "here" links
Previous Message Magnus Hagander 2007-02-18 17:30:14 Re: Czech character broken?