Re: [PHP] a bit off the list but should be easy
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: Some Random Title Text. -or- Some Random 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] a bit off the list but should be easy
Thanks :-) that is really helpful. Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts" - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 3:33 AM Subject: RE: [PHP] a bit off the list but should be easy > Most people do it like this > > > Specify the charset in the document. > > e.g. > > Simplified Chinese > > > Traditional Chinese > > > You can also specify the language type in the web server - have a look at > your apache settings. > Doing it via the charset= method is better though imho. > > > 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. > > Cheers, > > Lawrence. > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: August 16, 2001 4:21 AM > To: [EMAIL PROTECTED] > Subject: [PHP] a bit off the list but should be easy > > > Hi people > It is about html, that when I go to some sites that ask me to download their > font like Japanese or chinese font, in order to read their language, what do > they put in the page for that kind of detection? > Jack > [EMAIL PROTECTED] > "Love your enemies, it will drive them nuts" > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] a bit off the list but should be easy
Most people do it like this Specify the charset in the document. e.g. Simplified Chinese Traditional Chinese You can also specify the language type in the web server - have a look at your apache settings. Doing it via the charset= method is better though imho. 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. Cheers, Lawrence. -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: August 16, 2001 4:21 AM To: [EMAIL PROTECTED] Subject: [PHP] a bit off the list but should be easy Hi people It is about html, that when I go to some sites that ask me to download their font like Japanese or chinese font, in order to read their language, what do they put in the page for that kind of detection? Jack [EMAIL PROTECTED] "Love your enemies, it will drive them nuts" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]