🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fj.lang.javascript
1 messages
1 total messages Started by Shimomura Hideaki Wed, 04 Feb 1998 00:00
日本語の化け
#138
Author: Shimomura Hideaki
Date: Wed, 04 Feb 1998 00:00
36 lines
1562 bytes
はじめまして、下村英明(学生)です。

最近JavaScriptに興味を持って、去る友人から本を借りて
それに書いてある通りにやっているのですが、
ネットスケープでスクローラーを見ると、
どんなことをしても日本語が一番左で化けてしまいます。
これはネットスケープの仕様であるそうなのですが、解決策はないのですか?

現在のソース(詳しくはhttp://www2s.biglobe.ne.jp/~shimomu/whatsnew.html
まで)

<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-2022-JP">

<SCRIPT LANGUAGE="JavaScript">
<!-- Hide script from old browser
stcnt = 0;
msg = "毎\日更\新\中で\あ\りま\す。";
blnk = "                                                ";
str = blnk + blnk + blnk + msg;

function scroller()
{
	window.status = str.substring(stcnt++,str.length+1);
	if (stcnt>str.length) stcnt=0;
	setTimeout('scroller()',80);
}
// end Hiding -->
</SCRIPT>


-- 
下村英明
 E-Mail   : h-shimomura@geocities.co.jp
  HomePage : http://www2s.biglobe.ne.jp/~shimomu/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads