Re: a bit off the list but should be easy

From: Date: Wed, 15 Aug 2001 23:21:24 +0000
Subject: Re: a bit off the list but should be easy
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62916@lists.php.net to get a copy of this message
You wrote: > Note that the download font thing is Internet Exploder Specific. Internet > Exploder also has a few issues with different charsets. > Also note that *all* html documents should have a specified charset - even > the plain english ones. Most of the html on the internet is coded wrongly, > this does not make it correct. > > I do a lot of simplified chinese development, being located in Shanghai, > China. That's not entirely true. The most basic valid HTML document looks like this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <title>Some Random Title</title> <p>Text.</p> -or- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <title>Some Random Title</title> Text. That's it. Three lines. No HTML tag, no HEAD tag, no BODY or FRAMESET tag. They're all optional. Of course, if you want to get really picky, only one character is required to be in the TITLE; same goes for the BODY, which is implied by the end of the HEAD, which is also implied, and so on and so forth. ;) META tags are optional, which means charset specifications are optional, as well. I assume a default charset is sent by the server, anyway, because my phpinfo() settings for my own server return "en-us" for HTTP_ACCEPT_LANGUAGE, but I could be mistaken, because I never cared about it because it was optional after all. ;) /digression -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/

« previous php.general (#62916) next »