Mailing List Archive

Support open source code!


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

Re: tlug: EUC & SJIS (correction)



On Thu, 10 Sep 1998, Klaus Kudielka wrote:

>I've been asking myself for a long time: Isn't the recommended way to specify
>the document encoding in the HTTP header? For example, using Apache, I just put
>
>AddType "text/html; charset=UTF-8" html
>
>in the .htaccess file in the top-level directory of my www-tree - works like a
>charm. I personally think of the HTTP-EQUIV as an intermediate hack.

Actually, you're right.  It is better to put it in the HTTP header.  Of
course, I don't actually do that myself :-)  I can come up with an excuse why
not, though: I have some pages on out English site that need to be encoded for
euc-jp.  Why?  Because Netscape [1] (don't know if this is still true for 4.05
and
4.06 or not) won't let you do Japanese input into a page with iso-8859-1
encoding (IE will  :-(   ), so I had to encode the pages for euc-jp even
though they display only English.

I bet they were like that for a couple of months or more before this little
feature was discovered and corrected :-)


[1] "Netscape," refers to Communicator 4.04 under Windows 95-J.  I don't know
if it does this on other platforms or not.


Jonathan Byrne
Media and Content Section
3Web - Your Internet Solution! <URL:http://www.threeweb.ad.jp/index.en.html>
3Web Channel <URL: http://www.3web.co.jp/>


--------------------------------------------------------------
Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 10 October, Tokyo Station Yaesu central gate 12:30
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links