待辦事項 #529

漢字コードの判定ミス
啟用日期: 2002-08-29 22:28 最後更新: 2002-09-05 22:47

回報者:
負責人:
類型:
狀態:
開啟 [Owner assigned]
元件:
(無)
里程碑:
(無)
優先權:
3
嚴重程度:
5 - 中
處理結果:
Accepted
檔案:

細節

<!--
<meta http-equiv="content-type" content="text/html;
charset=ISO-2022-JP">
-->
<meta http-equiv="content-type" content="text/html;
charset=EUC-JP">

という HTML (実際の文字コードは EUC)で文字化けしていまう。

Ticket History (2/2 Histories)

2002-09-01 22:11 Updated by: yamaken
  • 優先權 Update from 5 - 中 to 3
  • 處理結果 Update from to Accepted
評語
Logged In: YES
user_id=1795

以下のように、順序が入れ換わ入れ換わったHTMLではどうなるで
しょうか。

<meta http-equiv="content-type" content="text/html;
charset=EUC-JP">
<!--
<meta http-equiv="content-type" content="text/html;
charset=ISO-2022-JP">
-->
2002-09-05 22:47 Updated by: kenji
評語
Logged In: YES
user_id=223

上記ですと、正常に表示されました。
コメントは無視され、最初の meta tag のコードが使われるようです。

<!--
<meta http-equiv="content-type"
content="text/html;
charset=EUC-JP">
-->

のみでも正常に表示されました。

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入