[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perl Unicode support
On Fri, Mar 30, 2007 at 02:47:55PM +0200, Fredrik Jervfors wrote:
> Correct me if I'm wrong, but isn't the web server supposed to tell the
> client which charset is used: Latin2 or UTF-8? [...]
You're perfectly right and understand the whole concept of encodings.
What I'm arguing with Rich is the following situation:
X writes a homepage in French, using either latin1 or utf8 encoding (but
mentions this encoding properly), and of course he uses all the french
letters, including e.g. è (e with grave accent).
Y is sitting in Poland for example, using a system configured to use a
latin2 locale by default. Latin2 lacks e with grave accent. Y visits the
homepage of X with some popular graphical web browser.
What should happen?
Rich says that his browser must (or should?) think in latin2 and hence drop
the è letters, maybe replace them with unaccented e or question marks or
similar.
I say that his browser mush show è correctly, it doesn't matter what its
locale is.
--
Egmont
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/