Re: cvs: php4 /ext/standard css.c

From: Date: Wed, 09 Oct 2002 04:58:00 +0000
Subject: Re: cvs: php4 /ext/standard css.c
References: 1 2 3 4 5 6 7 8  Groups: php.dev 
Request: Send a blank email to php-dev+get-89266@lists.php.net to get a copy of this message
> Yes and No. It works withh my browser, but I just happen to know > some browsers do not like it. Let's be more conservative. I'd rather have a nice looking page that works on 99% of the browsers, than a not-so-nice looking one that works on 100%. >> Okay ... so don't output the charset meta tag at all? > > That's better. And you must not try to convert chars to > entities. This is the worst thing... Text cannot be read > even with HTML sources. But the characters need to be converted. It isn't valid XHTML if we don't specify a charset. Testing on Mozilla, if I have a document that contains: Hello Théo, welcome to my Straße! This only renders completely properly if the charset is ISO-8859-1. HTML entities render in UTF-8 and US-ASCII, but the "ß" does not. Even using the character set your emails to me come in ("ISO-2022-JP") renders the HTML entities correctly, but fails on the un-encoded character. I really think the best solution (not perfect, but best) is to specify some fonts so the pages look nice, and hard code in the ISO-8859-1 font. - Colin

« previous php.dev (#89266) next »