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

Re: 再次請問mozilla如¦颽搷琤誚ahtml裡的¤中憍O?



On Sat, Dec 09, 2000 at 01:22:12PM +0800, wqinian rao wrote:
> 它能上網看任何中文網站,但是在我計算機裡我寫的HTML裡加了中文,
> 在我調試的時候卻顯示出來的是亂碼,請問修正呢?

  請自行參考 Debian 網站上的簡體 GB 中文網頁的源碼。

					東東

後綴:主要是加以下的東西:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML lang="zh-CN">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=GB2312">
<TITLE>Debian GNU/Linux -- Debian 中文畫面</TITLE>
...
...
</HEAD>

尤其是 META...Content-Type...charset=GB2312 那句。
為什麼我不直接了當的回答呢?因為我希望可以激發您自己解決問題的技巧。
                                          ^^^^^^^^^^^^^^^^^^^^^^^^
如果人家的 HTML 文件會自動出中文,而自己的不行,解決辦法自然是參考
人家的網頁有什麼特別的地方,然後加進自己的網頁裡。

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
   Debian GNU/Linux Chinese Project -- http://www.debian.org/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/

-- 
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.



Reply to: