[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Windows character sets and Linux



> I've often seen webpages where certain characters (primarily things
> like apostrophes, quotes and such) show as '?' under Linux. I
> believe this is a problem with character sets in Windows versus
> Linux.

You are correct.  The character set used in the English-speaking
Windows world by default is so-called code page 1252, which is
slightly incompatible with Latin1.  Many web pages that are actually
written with Windows 1252 characters incorrectly claim in their
content-types that they are Latin1.

  http://www.jwz.org/doc/charsets.html

> I'm assuming that if I include the proper "locale" in Linux, this
> problem will go away.

Maybe, or maybe not.  The real problem is that either (a) the web
pages you're viewing should be reporting their content-types correctly
or (b) your browser does not correctly interpret the bytes in those
web pages as characters, even though the charset is getting reported
properly.

> Does anyone know how to solve this...

My copies of Mozilla and Mozilla Firebird have a menu option that let
you hard-wire the character set of the page you're viewing.  Set it to
"Windows 1252", or something like that, and you're off to the races.

Lucas
-- 
Lucas Bergman <lucas@fivesight.com>
Tired of getting duplicate copies of mailing list messages?  I respect
the 'mail-followup-to' header field: http://cr.yp.to/proto/replyto.html



Reply to: