Re: Czech character broken? - Mailing list pgsql-www

From Michael Fuhr
Subject Re: Czech character broken?
Date
Msg-id 20070218181251.GA40098@winnie.fuhr.org
Whole thread Raw
In response to Re: Czech character broken?  (Magnus Hagander <magnus@hagander.net>)
List 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 š <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


pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Czech character broken?
Next
From: Bruce Momjian
Date:
Subject: Re: "here" links